OnClientVehicleDrown: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Client event}} __NOTOC__ This event is triggered when a vehicle starts to drown in a water. ==Parameters== ==Source== The source of this even is the vehicle that is drow...") |
m (→Parameters) |
||
Line 4: | Line 4: | ||
==Parameters== | ==Parameters== | ||
This event has no parameters. | |||
==Source== | ==Source== |
Revision as of 02:59, 26 September 2012
This event is triggered when a vehicle starts to drown in a water.
Parameters
This event has no parameters.
Source
The source of this even is the vehicle that is drowning.
Example
addEventHandler("onClientVehicleDrown",root,function() outputChatBox("Vehicle: "..getVehicleName(source).." is drowning!") end)
See Also
Client vehicle events
- onClientTrailerAttach
- onClientTrailerDetach
- onClientVehicleCollision
- onClientVehicleDamage
- onClientVehicleEnter
- onClientVehicleExit
- onClientVehicleExplode
- onClientVehicleNitroStateChange
- onClientVehicleRespawn
- onClientVehicleStartEnter
- onClientVehicleStartExit
- onClientVehicleWeaponHit
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled