Jump to content

BUG


Recommended Posts

The source of onMarkerHit event is the marker that was hit, you should use onMarkerHit parameters.

local Marker = createMarker ( 2048.68848, 1474.93945, 9.67188, "cylinder", 10.0, 155, 0, 0, 150) -- Isn't 10 as a size kinda too much? 
  
function elLoco(hElement) 
setPlayerWantedLevel(hElement, 3) 
end 
addEventHandler ("onMarkerHit", Marker, elLoco) 

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...