23.12.2013, 17:49
In my understand, you want to set the Patriot's vehicle health to 3000.0
pawn Код:
public OnVehicleSpawn(vehicleid)
{
for(new i; i < sizeof(LSPDVehicles); ++i)
{
return SetVehicleHealth(LSPDVehicles[i], 2500.0);
}
if(GetVehicleModel(vehicleid) == 470)
{
return SetVehicleHealth(vehicleid, 3000.0);
}
return true;
}