diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-29 19:04:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-29 19:04:23 +0300 |
commit | 7d9fb1c5c1101fc1fc0afaa2508c842cedbf1a5a (patch) | |
tree | 572a9968526a3c84c8bad347dafca7f3b2c6a29e /src/map/script.c | |
parent | 3c4e409e9080783ecc01d93aa53ddf04f6f93ff0 (diff) | |
download | plugin-7d9fb1c5c1101fc1fc0afaa2508c842cedbf1a5a.tar.gz plugin-7d9fb1c5c1101fc1fc0afaa2508c842cedbf1a5a.tar.bz2 plugin-7d9fb1c5c1101fc1fc0afaa2508c842cedbf1a5a.tar.xz plugin-7d9fb1c5c1101fc1fc0afaa2508c842cedbf1a5a.zip |
add script command for clear npc window.
New script command: clear
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 12902ac..1f629bd 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -693,3 +693,9 @@ BUILDIN(setAvatarAction) send_npccommand2(script->rid2sd (st), st->oid, 8, script_getnum(st, 2), 0, 0); return true; } + +BUILDIN(clear) +{ + send_npccommand(script->rid2sd (st), st->oid, 9); + return true; +} |