[AJUDA/PEDIDO] Blindagem de um Veiculo !
#6

Quote:
Originally Posted by Shickcard
Посмотреть сообщение
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;
}
pawn Код:
public OnPlayerUpdate(playerid)
{
 new veiculo[MAX_PLAYERS] = GetPlayerVehicleID(playerid);
 if(GetVehicleModel(veiculo[playerid]) == 427) return RepairVehicle(veiculo[playerid]);
 return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)