16.04.2011, 18:38
you dont use the else function in that use this
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/desert", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, 405.114,2441.080,16.312); return 1; } if (strcmp("/myteleport", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, -1967.8365, 2956.9823, 12.9375); return 1; } return 0; } }