Jump to content

[HELP] About markers


HeK

Recommended Posts

I'm working on a vendor script that has a lot of markers, i have been making it like this:

function showVendor(hitPlayer) 
triggerClientEvent (hitPlayer,"showVendorGUI",getRootElement(),hitPlayer) 
end 
addEventHandler ("onMarkerHit",vendor2,showVendor) 

I did that with every marker and there's a lot of lines. My question is, is there anyway to make the markers with all the coordinates in one "thing" and then give that the function?

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