CS2D
Scripts ERROR: Unknown command ERROR: Unknown command
6 replies Script: Zombie Plague Mod 1.15b
Command: zp_give_ap <id> <ap> - Give Ammo Packs For Player
ERROR: Unknown command 'zp_give_ap' (zp_give_ap 1 1000)
Use quotation marks for parameters with blanks. e.g.: mp_unbuyable "Tactical Shield"
Visit CS2D.com/help for a command reference
How do I fix it? Any conflicting scripts?
BTW if the command still works correctly, it shouldn't be a big deal. Search the files made by use that are linked to cs2d by means of process or dofile the keywords 'addhook("parse"'. -- Dofiles --
zp_dir = 'sys/lua/zombieplague/zp_'
snd_dir = 'zombieplague/zp_'
dofile(zp_dir..'config.cfg')
dofile(zp_dir..'values.lua')
dofile(zp_dir..'func_up.lua')
dofile(zp_dir..'console.lua')
dofile(zp_dir..'filter.lua')
dofile(zp_dir..'func_m.lua')
dofile(zp_dir..'func.lua')
dofile(zp_dir..'settings.cfg')
-- Hooks --
addhook("team","zp_team")
addhook("join","zp_join")
addhook("spawn","zp_spawn")
addhook("kill","zp_kill")
addhook("hit","zp_hit")
addhook("menu","zp_menu")
addhook("serveraction","zp_serveraction")
addhook("minute","zp_minute")
addhook("projectile","zp_projectile")
addhook("second","zp_second")
addhook("startround","zp_startround")
addhook("endround","zp_endround")
addhook("drop","zp_drop")
addhook("die","zp_die")
addhook("parse","zp_parse")
addhook("buy","zp_buy")
addhook("leave","zp_leave")
addhook("say","zp_say") If using the console remember to use rcon "command." - If you're using the chat use !"command."
There is no error in the script, other wise I would have known as I used the script for a few months. You're just doing it wrong. Command: rcon zp_give_ap 1 1000
ERROR: RCon: Only certain U.S.G.N. users are allowed to use RCon on this server. Open your server.cfg file. Remove the line;