OnElementColShapeHit

From Multi Theft Auto: Wiki
Revision as of 17:38, 12 January 2008 by D0c (talk | contribs) (See Also for server events)
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


Event functions