15.05.2010, 14:59
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
{
new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1402.7150,-246.6826,1043.4631);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 170.3246);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi para o Race! (Teles Race)", pname);
SendClientMessageToAll(COR_LARANJA, string);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid,7);
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
}