13.11.2011, 00:53
I have:
but when i type /teleport he said: unknow command..
I tried without FS.. same shit
but when i type /teleport he said: unknow command..
I tried without FS.. same shit
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/teleport", true) == 0) { SetPlayerPos(playerid,948.5627,-865.7071,84.1467); GameTextForPlayer(playerid, "~g~You teleported to the map!", 4000, 5); return 1; } if(strcmp(cmdtext, "/kill", true) == 0 || strcmp(cmdtext, "/suicide", true) == 0) { SetPlayerHealth(playerid, 0); GameTextForPlayer(playerid, "~r~Suicide", 3000, 1); return 1; } return 0; }