23.06.2009, 14:04
Ok,
This line:
Gives me
I can't see why It does that?
This Is the code I added recently:
This line:
Quote:
return 0; |
Quote:
error 010: invalid function or declaration |
This Is the code I added recently:
Quote:
if(strcmp("/ban",cmdtext,true,4)==0) if(PlayerInfo[playerid][pL1A] == 1) { new id = strval(cmdtext[5]); Ban(id); printf("SERVER BAN: %d has been banned from the server",id); SendClientMessageToAll(COLOR_WHITE, "----------------------------------------------------------------------------------------------------------"); SendClientMessageToAll(COLOR_GREEN, "SERVER ADMINISTRATION NOTICE"); SendClientMessageToAll(COLOR_WHITE, "%d have been banned from the server!"); SendClientMessageToAll(COLOR_WHITE, "----------------------------------------------------------------------------------------------------------"); } else { SendClientMessage(playerid, COLOR_WHITE, "SERVER: Unknown Command."); } return 1; } return 0; } |