diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-23 11:43:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-23 11:43:12 +0300 |
commit | 9aa109f1e404c60cf94832f95c82b7056916d14a (patch) | |
tree | e0f0778b4427f7959094b3b2ad1ec432a6e6c7d8 /src/map/send.c | |
parent | 2404bb2a08f98713d872743c33811ee7e4c69c49 (diff) | |
download | plugin-9aa109f1e404c60cf94832f95c82b7056916d14a.tar.gz plugin-9aa109f1e404c60cf94832f95c82b7056916d14a.tar.bz2 plugin-9aa109f1e404c60cf94832f95c82b7056916d14a.tar.xz plugin-9aa109f1e404c60cf94832f95c82b7056916d14a.zip |
map: show most slots to other players on warp or enter visible area.
Diffstat (limited to 'src/map/send.c')
-rw-r--r-- | src/map/send.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/send.c b/src/map/send.c index 2739e7b..8e2f878 100644 --- a/src/map/send.c +++ b/src/map/send.c @@ -68,3 +68,14 @@ void send_local_message(int fd, struct block_list* bl, const char* msg) safestrncpy((char*)WFIFOP(fd, 8), msg, msg_len); WFIFOSET (fd, msg_len + 8); } + +void send_changelook(int fd, int id, int type, int val) +{ + WFIFOHEAD (fd, 11); + WFIFOW (fd, 0) = 0x1d7; + WFIFOL (fd, 2) = id; + WFIFOB (fd, 6) = type; + WFIFOW (fd, 7) = val; + WFIFOW (fd, 9) = 0; + WFIFOSET (fd, 11); +} |