Kevin_Linden Posted March 2, 2010 Posted March 2, 2010 Like there interior rotation X ,Y,X and save them as a variable so then i can save them in there account?
Aibo Posted March 2, 2010 Posted March 2, 2010 you mean this? function savePlayerLocation(player) local account = getPlayerAccount(player) local x, y, z = getElementPosition(player) local interior = getElementInterior(player) setAccountData(account, "savedX", x) setAccountData(account, "savedY", y) setAccountData(account, "savedZ", z) setAccountData(account, "savedInterior", interior) end
Kevin_Linden Posted March 2, 2010 Author Posted March 2, 2010 Yes but i want to save there rotation also, how can i do that?
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