Vehicle:Damage
Vehicle:Damage(vehicle: Entity, damage: float, info: DamageGiverInfo | nil)
Parameters
Name | Type | Description |
---|---|---|
vehicle | Entity | |
damage | float | |
info | DamageGiverInfo | nil |
Example
Events:Subscribe('Vehicle:Damage', function(vehicle, damage, info)
-- Do stuff here.
end)
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)