Tekken Posted February 5, 2015 Share Posted February 5, 2015 Hi, I have this script for loja, and when type "/loja" teleport you in a loja, then "/lastloja" teleport you back. But if you go in loja then go back and you die when type back "/lastloja", teleport you back were you was. Script: addCommandHandler("lastloja", function(playerSource) local oldxl = getElementData(playerSource, "xl") local oldyl = getElementData(playerSource, "yl") local oldzl = getElementData(playerSource, "zl") setElementPosition(playerSource, oldxl, oldyl, oldzl) outputChatBox("Out of loja!", playerSource, 255, 0, 0) end ) How to delete oldxl, oldyl, oldzl ? 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