Matevsz Posted May 16, 2015 Posted May 16, 2015 Hi, I'm doing a new property and I have to have new x, y, z so I put one object to another to have x, y, z and you sleep new x, y, z I have 2 objects, I use: LSEye = createObject(6298,389.7734375,-2028.46875,19.804689407349,0,0,270) -- Old LSEye destroyElement(LSEye) LSEye2 = createObject(6298,389.79998779297,-2028.5,34.599998474121,0,0,270) -- New LSEye kosciolS = createObject(8130,1493.8000488281,751.09997558594,20.799999237061) -- Kościół LV Old destroyElement(kosciolS) kosciolN = createObject(8130,1493.8000488281,751.09997558594,35.400001525879) -- Kościół LV New And not work, still 2 objects
Walid Posted May 16, 2015 Posted May 16, 2015 can you explane your problem better Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Matevsz Posted May 17, 2015 Author Posted May 17, 2015 I have x, y, z current object, and x, y, z new facility, located a little above the current object, and now as I am doing CreateObject only a new object there on the server I and the current and new .., how to remove the current? Sorry for english
Walid Posted May 17, 2015 Posted May 17, 2015 I have x, y, z current object, and x, y, z new facility, located a little above the current object, and now as I am doing CreateObject only a new object there on the server I and the current and new .., how to remove the current?Sorry for english really i don't undrestad nothing anyways to destroy somthing you need to use destroyElement if isElement(--[[ element here]]) then destroyElement(--[[ element here]]) end Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Matevsz Posted May 17, 2015 Author Posted May 17, 2015 how to delete this object? http://imgur.com/a/sCsnJ#pqkn7Qx if isElement(--[[ element here]]) then destroyElement(--[[ element here]]) end not work
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