Jump to content

[Help] Vehicles Spawner


Recommended Posts

i have made a vehicle spawner for all jobs

but i have got a problem when i spawn vehicle, it automatic change my position to another Marker of same occupation

this is part of table

local Markers = { 
-- LS Markers 
{job = "Police Officer", mx=1550.3958740234, my=-1609.7741699219,mz=12.3828125,mr=41,mg=41, mb=247, rz=267.83172607422}, 
} 

after that i used getElementData to get Marker Occupation

when i used getElementPosition it's change my position to another Marker

mx, my, mz = getElementPosition(Marker) 

i used that to get Position of Marker that i entered it

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