OnClientVehicleCollision: Difference between revisions

From Multi Theft Auto: Wiki
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.


source = Vehicle
==Parameters==
collidedWith, force, bodyPart, collisionX, collisionY, collisionZ,
velocityX, velocityY, velocityZ


params = ( collidedWith, force, bodyPart, collisionX, collisionY, collisionZ,
==Source==
velocityX, velocityY, velocityZ )
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

Accessories-text-editor.png 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


Client event functions