27.03.2010, 02:22
Alright so I'm making it so whenever you come in as a passenger in a specific vehicle, let's say an ambulance it sets your health back to full if its not at 100.0, and if it is full, it kicks you out. But for some strange reason it doesn't work. Any help appreciated.
Код:
new Float:health; GetPlayerHealth(playerid, health); if(health < 100) { SetPlayerHealth(playerid, 100); } else if(health == 100) { RemovePlayerFromVehicle(playerid); }