How i can put godmode to cars
#1

title says all..
Reply
#2

pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
    SetVehicleHealth(vehicleid, 1000);
}
Everytime you damage your vehicle its health will be restored.
OnVehicleDamageStatusUpdate is called when the vehicle's components are damaged, and ultimately its health.
Reply
#3

error 025: function heading differs from prototype
Reply
#4

Ops, I've edited my previous message; instead of playerid it's vehicleid and vice-versa.
Reply
#5

ok , but when i flip wrong side with the car , it's fire up anyway :S

bad english ..
Reply
#6

You'd need to find a way to flip the vehicle back on its wheels. That's a different problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)