23.01.2015, 11:39
Hello.
Can someone tell me what's wrong in this ?
I've already made a stock for "KickAll", But i don't know it shows me that something is wrong with it..
The error:
Can someone tell me what's wrong in this ?
I've already made a stock for "KickAll", But i don't know it shows me that something is wrong with it..
The error:
Код:
C:\Program Files\lvcnrr\gamemodes\stuntDM.pwn(8037) : error 076: syntax error in the expression, or invalid function call Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
PHP код:
CMD:kickall(playerid,params[])
{
new string[128];
if(!IsPlayerName(playerid,"TheKing") && !IsPlayerName(playerid, "Boss")) return SCM(playerid,COLOR_WHITE,"{FF0000}[ERROR]{FFFFFF} You have entered an invalid command, Type /commands or /cmds to see the server commands");
KickAll;
format(string,sizeof(string),"{FF0770}[ADMIN] {FFFFFF}All players have been kicked for an update!");
SendClientMessageToAll(COLOR_WHITE,string);
SendRconCommand("gmx");
return 1;
}