OnMarkerHit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (See Also for server events)
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server event}}
{{Server event}}
{{Needs_Checking|Appears to be broken, use [[Element/Collision_shape|ColShapes]] instead--[[User:Mabako|Mabako]] 11:59, 12 January 2008 (CST)}}
This event is triggered when a player enters a marker created using [[createMarker]].
This event is triggered when a player enters a marker created using [[createMarker]].



Revision as of 17:59, 12 January 2008

Dialog-information.png This article needs checking.

Reason(s): Appears to be broken, use ColShapes instead--Mabako 11:59, 12 January 2008 (CST)

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

Marker events


Event functions