01.03.2010, 09:50
The problem i have is when i add a [fs] it is stoppig my normaly commands from the [gm] from working any ideas im using errors account system and [FS] --> In-Game Car Spawner & Respawner <-- please help
many thanks alex
many thanks alex
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new idx; new cmd[256]; cmd = strtok(cmdtext, idx); if(strcmp(cmd, "/yadayada", true) == 0) { return 1; } if (strcmp("/savepos", cmdtext, true) == 0) { GetPlayerPos(playerid, POS[playerid][0], POS[playerid][1], POS[playerid][2]); SendClientMessage(playerid,0xFF44CF," Position Saved." ); return 1; } if (strcmp("/loadpos", cmdtext, true) == 0) { SetPlayerPos(playerid, POS[playerid][0], POS[playerid][1], POS[playerid][2]); SendClientMessage(playerid,0xFF44CF," Position Loaded." ); return 1; } if (strcmp("/kill", cmdtext, true, 5) == 0) { SetPlayerHealth(playerid,0); return 1; } if (strcmp("/commands", cmdtext, true) == 0) { SendClientMessage(playerid,0xFF441B," /v [model or id], /savepos, /loadpos, /kill." ); return 1; } return 0; }