Talk:OnVehicleDamage

From Multi Theft Auto: Wiki
Revision as of 06:18, 10 August 2009 by Erorr404 (talk | contribs) (Created page with 'Just a note: Sometimes this event is triggered when you repair a vehicle. If your script is increasing the health, you can get around this by setting a flag for a short time afte…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just a note: Sometimes this event is triggered when you repair a vehicle. If your script is increasing the health, you can get around this by setting a flag for a short time after the vehicle was repaired, and checking for it when your onVehicleDamage handler is called. --Erorr404 06:18, 10 August 2009 (UTC)