26.10.2013, 18:41
(
Последний раз редактировалось Klions; 26.10.2013 в 19:15.
)
Tente:
pawn Код:
if(strcmp("/sf", cmdtext, true, 10) == 0)
if(GetPlayerHealth(playerid) < 50)
{
SendClientMessage(playerid, -1, "Vocк nгo pode se teleporta com vida baixa");
}else{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetVehiclePos(GetPlayerVehicleID(playerid),-2006.3324,146.2305,27.5391);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), ">> %s Foi para SAN FIERRO [ /SF ]", pName);
SendClientMessageToAll(-1, string);
SetPlayerPos(playerid,-2042.2521,136.4568,28.8359);
}
return 1;
}