Created Commands not working
#1

Hello there,

I am editing a gamemode(NVCNR one) and I am trying to make a command, but for some reason what I make doesn't work.

I copied a command and changed the name, that worked but making one from scratch makes the server go:
"SERVER: Unknown Command"

here is a example of What I made:
PHP код:
CMD:copyCommand(playeridparams[])
{
    
SendClientMessageToAll(-1" 1 2 3 ... Testing ... ");
    return 
true;

not sure what is wrong, when I compile everything is fine except these warnings:

Код:
: warning 204: symbol is assigned a value that is never used: "s"
: warning 217: loose indentation
: warning 203: symbol is never used: "CountLogins"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
If you need more info ask I'll try to provide it.
Reply


Messages In This Thread
Created Commands not working - by ThatThoseTheThy - 28.03.2015, 12:05
Re: Created Commands not working - by Oeal - 28.03.2015, 12:27
Re: Created Commands not working - by ThatThoseTheThy - 28.03.2015, 13:38
Re: Created Commands not working - by CrossOv3r - 28.03.2015, 13:42
Re: Created Commands not working - by ThatThoseTheThy - 28.03.2015, 13:46
Re: Created Commands not working - by maximthepain - 28.03.2015, 13:50
Re: Created Commands not working - by CrossOv3r - 28.03.2015, 13:51
Re: Created Commands not working - by ThatThoseTheThy - 28.03.2015, 14:00

Forum Jump:


Users browsing this thread: 2 Guest(s)