Car health
#1

How do I make it so that when a player enters a vehicle, the car's hp is set to 1500? What callback, etc.
Reply
#2

Mybe;
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    SetVehicleHealth(vehicleid, 1500.0);
    return 1;
}
Not Sure and not tested!
Reply
#3

Worked

I could of sworn that I tried that -_-
Reply
#4

I am happy of help XD!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)