Jump to content

Marker show to player (ammunation)


simstosh

Recommended Posts

Hi.

I've downloaded the LSAN resource (Los Santos Ammunation), and do some adaptations on the script, adding a marker to all ammunations accessible to players and recreate the GUI menu (who are bugging with other GUI's on my script).

But, when I enter on a Ammunation, the script works (cause he gets the player position and shows the menu), but the marker won't show, because the 'interiors' resource uses different dimensions for the teleports won't bug depending of the ammunation you enter.

So, when the dimension = 0, the marker shows normally, but the player go to any ammunation in SA.

How can I set the marker to show to the player when he enters in any ammunation?

Here is the .lua, on Pastebin:

http://pastebin.com/MXDFSKy7

Thanks

Link to comment

This base isn't mine, I get only from the LSAN resource (but works)...

The "cylinder" I only tried to use him, but doesn't change (maybe because I haven't put the "")

And the Marker Targets are for check if the player is in a marker (GetMarkerTarget) and compare with the player pos, to show the menu.

Basically, the script works, only the markers won't show because the dimensions are different.

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