26.10.2013, 20:19
pawn Код:
if(strcmp(cmdtext,"/sf", true) == 0)
if(SemVida(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo pode se teleporta com vida baixa");
else{
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), ">> %s foi para SAN FIERRO [ /SF ] ", pName);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehiclePos(GetPlayerVehicleID(playerid),-2006.3324,146.2305,27.5391);
SetVehicleZAngle(GetPlayerVehicleID(playerid),87.9631);}else{
SetPlayerPos(playerid,-2042.2521,136.4568,28.8359);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,87.9631);
SetCameraBehindPlayer(playerid);
}
return 1;
}