04.05.2011, 14:53
Acho que й isso que estas querendo.
pawn Код:
public OnPlayerUpdate(playerid)
{
new veiculo[MAX_PLAYERS];
veiculo[playerid] = GetPlayerVehicleID(playerid);
if(GetVehicleModel(veiculo[playerid]) == 427) return SetVehicleHealth(vehicleid, 1000.0);
return 1;
}