Guest Posted August 8, 2017 Share 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 Link to comment
NeXuS™ Posted August 8, 2017 Share 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 Link to comment
Guest Posted August 8, 2017 Share 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 ? Link to comment
NeXuS™ Posted August 8, 2017 Share Posted August 8, 2017 Where does it say that you have to use those args? Use the spawnPlayer function. Link to comment
Guest Posted August 8, 2017 Share 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 Link to comment
NeXuS™ Posted August 8, 2017 Share Posted August 8, 2017 I suppose mx, my, mz, tarx, tary, tarz are the camera matrix, and then xyz is the spawn position. Link to comment
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