Guest Posted August 8, 2017 Posted August 8, 2017 Hello , I have a question . How to get this coordinates in mta san andreas ? - mx, my, mz, tarx, tary, tarz , rot
NeXuS™ Posted August 8, 2017 Posted August 8, 2017 (edited) What do you mean? An element's position? Why do you have target positions? Btw, to get the current position of an element, use getElementPosition, for the rotation, getElementRotation. Edited August 8, 2017 by NeXuS™ 1
Guest Posted August 8, 2017 Posted August 8, 2017 Im trying to make when player dies he will spawn in El quabadros hospital , so I need this - mx, my, mz, tarx, tary, tarz, x, y, z , and I dont know what mx my mz tarx tary tarz means .... how to get them. This is coordinates or what ?
NeXuS™ Posted August 8, 2017 Posted August 8, 2017 Where does it say that you have to use those args? Use the spawnPlayer function.
Guest Posted August 8, 2017 Posted August 8, 2017 this is example - local hospitalTable = {} local hospitals = { -- mx, my, mz, tarx, tary, tarz, x, y, z, rot, name [1] = {1218, -1322, 15, 1217, -1322, 15, 1173, -1323, 15, 270, "All Saints Hospital"}, -- All Saints
NeXuS™ Posted August 8, 2017 Posted August 8, 2017 I suppose mx, my, mz, tarx, tary, tarz are the camera matrix, and then xyz is the spawn position.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now