Need Fs Vehicle When Crashed hp lower than 300 can drive and send messege to rep
#1

Vehicle When Crashed hp lower than 300 can drive and send messege to repair car
Reply
#2

This should be posted in script request section although to do this:

Create a loop or timer and make an expression where it checks the vehicle health for 300 or below; example:

pawn Код:
for(new i=0 <MAX_PLAYERS; i++)
{
if(GetVehicleHealth(GetPlayerVehicleID) <= 300)
{
//his hp is lower than 300
}
}
or by using foreach by ***** (awesome)

pawn Код:
foreach(Player, i)
{
if(GetVehicleHealth(GetPlayerVehicleID) <= 300)
{
//his hp is lower than 300
}
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)