05.06.2010, 23:34
Quote:
Originally Posted by (SF)Noobanatior
yep run a timer the checks all the cars being used health and if the health is < x removeplayerfromvehicle
|
public carhealth()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
{
new Float:vHealth;
if (vHealth<100.0)
RemovePlayerFromVehicle();
SetTimer("carhealth",1000,1);
}
}
}
The Ejecting Works!
But it ejects whenever somebody gets in a vehicle....