10.01.2015, 13:07
This is mine.
But it still "SERVER: Unknown command"
But it still "SERVER: Unknown command"
Code:
public OnPlayerCommandText(playerid, cmdtext[]) { //Can't use commands when not spawned. if(IsSpawned[playerid] != 1) { SCM(playerid,COLOR_WHITE,"{AFAFAF}[Error]: {FFFFFF}You cannot use commands while you're not spawned."); return 1; } return SendClientMessage(playerid,COLOR_WHITE,"{FF0000}[ERROR]{FFFFFF} You have entered and invalid command, Type /commands or /cmds to see our server commands."); }