OnMarkerHit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Needs_Checking|different stored args than on the list, which also has matching dimension. It should store the marker that was hit. matchingdimension outputted 'true' when i tostring()'ed it in output--[[User:Ransom|Ransom]] 21:37, 12 April 2007 (CDT)}}
[[Category:Incomplete Event]]
[[Category:Incomplete Event]]


Line 8: Line 6:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
void onMarkerHit ( player hitplayer )             
void onMarkerHit ( player, bool matchingdimension )             
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 00:14, 17 October 2007


This event is triggered when a player hits a marker.

Syntax

void onMarkerHit ( player, bool matchingdimension )             

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo