GetVehicleDamage

From NPC for VCMP 0.4 Servers
Revision as of 05:52, 25 August 2023 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in v1.7 and will not work on previous versions.


Description:
Returns the damage amount of the vehicle


Parameters:

(vehicleid)

vehicleid : The ID of the vehicle whose damage is to be found


Return Values:
The damage of the vehicle on success, -1 on invalid vehicle ( not streamed in )



Related Functions

The following functions may be helpful as they relate to this function in one way or another.