07.06.2011, 11:24
Hi guys,i want do if a player is in a hydra or hunter and the vehicle has -250 hp,it will show a message to all players.
How?
How?
Hi guys,i want do if a player is in a hydra or hunter and the vehicle has -250 hp,it will show a message to all players.
How? |
if(GetVehicleModel(vehicleid) == 520 || if(GetVehicleModel(vehicleid) == 425))
{
new Float:health;
new car;
car = GetPlayerVehicleID(playerid);
GetVehicleHealth(car, health)
if{health < 250) return SendClientMessageToAll(COLOR, "Text");
}
pawn Код:
|
OnVehicleDamageStatusUpdate