OnMarkerHit

From Multi Theft Auto: Wiki
Revision as of 04:53, 30 December 2007 by ChrML (talk | contribs)
Jump to navigation Jump to search

This event is triggered when a player enters a marker created using createMarker.

Parameters

player hitPlayer, bool matchingDimension
  • hitPlayer: The player that hit the marker
  • matchingDimension: True if the player is in the same dimension as the marker he hit

Source

The source of this event is the marker that got hit by the player.

Example

This example does...

--This line does...
blah()
--This line does this...
mooo

See Also