xXMADEXx Posted April 23, 2013 Posted April 23, 2013 destroyElement ?? The Ultimate Lua Tutorial! | MTA PHP SDK
PaiN^ Posted April 23, 2013 Posted April 23, 2013 setObjectBreakable " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
iPrestege Posted April 23, 2013 Posted April 23, 2013 Not working setObjectBreakable(3091,true) No that's wrong post the script when you create the object ?
PaiN^ Posted April 23, 2013 Posted April 23, 2013 The first argument of setObjectBreakable is an object element, Not an object ID .. " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
MIKI785 Posted April 23, 2013 Posted April 23, 2013 Well, you can use object ID just make loop. for i, object in ipairs(getElementsByType("object")) do if getElementModel(object) == 3091 then setObjectBreakable(object, true) end end Lua Scripter Owner of mshost.cz MTA portal.
montel Posted April 23, 2013 Author Posted April 23, 2013 Well, you can use object ID just make loop. for i, object in ipairs(getElementsByType("object")) do if getElementModel(object) == 3091 then setObjectBreakable(object, true) end end Not working
PaiN^ Posted April 23, 2013 Posted April 23, 2013 Post your code .. " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
Castillo Posted April 24, 2013 Posted April 24, 2013 You set the script as client side, right? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
codeluaeveryday Posted April 24, 2013 Posted April 24, 2013 Am I the only one who noticed in his original post he wanted to remove the 1423, and not 3091. Tutorials: => getOnlineAdmins() => [TUT] Better Join Country => [TUT] Updating admin countries => [TUT] Updating admin flags Server: K@N Zombies / Freeroam
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