OnElementColShapeHit
Jump to navigation
Jump to search
This event is triggered when an player or vehicle element collides with a colshape.
Parameters
colshape theColShape, bool matchingDimension
- theColShape: The colshape that this element collided with
- matchingDimension: True if the element and the colshape are in the same dimension
Source
The source of this event is the player or vehicle that collided with the colshape.
Example
This example does...
--This line does... blah() --This line does this... mooo
See Also
Element events
- onElementClicked
- onElementColShapeHit
- onElementColShapeLeave
- onElementDataChange
- onElementDestroy
- onElementDimensionChange
- onElementInteriorChange
- onElementModelChange
- onElementStartSync
- onElementStopSync