diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-25 14:49:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-25 14:49:46 +0300 |
commit | 5d279bc95153b0785c844f88f02ef5239e9d9753 (patch) | |
tree | c81398fd0caa6edf9160bea880bfaaf5ebd219a0 /src/map/init.c | |
parent | 92ba7ee3b19bc4151d69700e9b1b5484298cbcbf (diff) | |
download | plugin-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.gz plugin-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.bz2 plugin-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.xz plugin-5d279bc95153b0785c844f88f02ef5239e9d9753.zip |
Add gm command for set player skill level. It also allow add/delete skills.
New gm command: @setskill skill level
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c index e2834ca..a9cc312 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -68,6 +68,8 @@ HPExport void plugin_init (void) { // HPM_map_add_group_permission = GET_SYMBOL("addGroupPermission"); + addAtcommand("setskill", setSkill); + addScriptCommand("setcamnpc", "*", setCamNpc); addScriptCommand("setcam", "ii", setCam); addScriptCommand("movecam", "ii", moveCam); |