diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-07-21 16:16:00 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-07-21 16:16:00 -0400 |
commit | 4b1e21eaaadca7dc8869ad543ab4cb1cc242fb89 (patch) | |
tree | c0dfa194d7de59e24ad4d0d9841f41ee66a9485d /npc/commands/music.txt | |
parent | e3b63461ab6e3564e975da56793b5d2fa8064300 (diff) | |
download | serverdata-s20170725.tar.gz serverdata-s20170725.tar.bz2 serverdata-s20170725.tar.xz serverdata-s20170725.zip |
refine permissions for custom commandss20170725
Diffstat (limited to 'npc/commands/music.txt')
-rw-r--r-- | npc/commands/music.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/commands/music.txt b/npc/commands/music.txt index 3f001919..e794060f 100644 --- a/npc/commands/music.txt +++ b/npc/commands/music.txt @@ -15,6 +15,11 @@ end; OnCall: + if (!is_evtc()) + { + end; + } + // TODO: tmw-like argv splitter getmapxy .@map$, .@void, .@void, UNITTYPE_PC; // get map @@ -30,12 +35,7 @@ OnCall: end; OnInit: - if (.hash) - { - htdelete(.hash); // delete it on Live-Reload (@reloadscripts) - } - - bindatcmd "music", "@music::OnCall", 2, 99, 1; + bindatcmd "music", "@music::OnCall", 0, 99, 1; .hash = htnew; // create hashtable htput(.hash, "forest", "bartk - in the forest of the birches"); |