Need Fs Vehicle When Crashed hp lower than 300 can drive and send messege to rep
#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


Messages In This Thread
Need Fs Vehicle When Crashed hp lower than 300 can drive and send messege to rep - by jame20702 - 08.12.2009, 12:44
Re: Need Fs Vehicle When Crashed hp lower than 300 can drive and send messege to - by lolumadd - 09.12.2009, 01:26

Forum Jump:


Users browsing this thread: 1 Guest(s)