Forum

> > CS2D > Scripts > ERROR: Unknown command
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch ERROR: Unknown command

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt ERROR: Unknown command

IvanGM
User Off Offline

Zitieren
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?

alt Re: ERROR: Unknown command

IvanGM
User Off Offline

Zitieren
-- 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")

alt Re: ERROR: Unknown command

Yates
Reviewer Off Offline

Zitieren
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.

alt Re: ERROR: Unknown command

IvanGM
User Off Offline

Zitieren
Command: rcon zp_give_ap 1 1000

ERROR: RCon: Only certain U.S.G.N. users are allowed to use RCon on this server.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht