11.06.2018, 00:24
You don't need else there.
This should work just fine.
This should work just fine.
PHP код:
CMD:gotols(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_RED, NOTADMIN);
PlayerInfo[playerid][pInt] = 0;
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1258.7352,-2036.7100,59.4561);
SendClientMessage(playerid, COLOR_WHITE, "You have been teleported to Los Santos!");
return 1;
}