Jump to content

Get player marker. :|


xScatta

Recommended Posts

you cant get if it is over a marker, you can just know when it hits it.

  
function MarkerHit ( hitPlayer, matchingDimension ) 
if matchingDimension == true then 
if hitPlayer then 
outputChatBox("".. Player .." in now over marker  ".. source.. " !", getRootElement()) 
addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerHit ) 
end 
end 
  

  
function markerLeave ( leavingPlayer, matchingDimension ) 
if matchingDimension == true then 
if leavingPlayer then 
outputChatBox("".. leavingPlayer .." just left marker ".. source .." ! ", getRootElement()) 
end 
end 
addEventHandler ( "onClientMarkerLeave", getRootElement(), markerLeave ) 

If you're sure he is in then you should go ahead with this:

https://wiki.multitheftauto.com/wiki/Is ... thinMarker

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...