OnClientVehicleCollision: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Added in MTA SA 1.3 | Added in MTA SA 1.3 | ||
}} | }} | ||
{{Client event}} | |||
__NOTOC__ | |||
This event is triggered when a vehicle collides with something. | |||
==Parameters== | |||
collidedWith, force, bodyPart, collisionX, collisionY, collisionZ, | |||
velocityX, velocityY, velocityZ | |||
==Source== | |||
The source of this event is the vehicle that collided with something. | |||
==Example== | |||
{{Example}} | |||
==See Also== | |||
===Client vehicle events=== | |||
{{Client_vehicle_events}} | |||
===Client event functions=== | |||
{{Client_event_functions}} |
Revision as of 13:36, 5 January 2012
Added in MTA SA 1.3
This event is triggered when a vehicle collides with something.
Parameters
collidedWith, force, bodyPart, collisionX, collisionY, collisionZ, velocityX, velocityY, velocityZ
Source
The source of this event is the vehicle that collided with something.
Example
Script Example Missing Event OnClientVehicleCollision needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
-- TODO
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