Jump to content

onMarkerHit - matchingDimension


ParadoxTR

Recommended Posts

Marker has been is dimension 0. I'm going dimension 1 and go to marker place(I don't see) but the event was.

I want different dimenion not working event. Help me.

Sry my english is bad. :?

  
function onBusinessMarkerHit(hElement, mDim) 
if getElementType(hElement) ~= "player" then return end 
if isPedInVehicle(hElement) then return end 
if not mDim then return end 
triggerClientEvent(hElement, "client:showInstructions", hElement) 
end 
  
function onBusinessMarkerLeave(hElement, mDim) 
if getElementType(hElement) ~= "player" then return end 
if isPedInVehicle(hElement) then return end 
if not mDim then return end 
triggerClientEvent(hElement, "client:hideInstructions", hElement) 
end 

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