montel Posted April 23, 2013 Share Posted April 23, 2013 this object can't broke.Need help object = 1423 Link to comment
montel Posted April 23, 2013 Author Share Posted April 23, 2013 setObjectBreakable How ? Link to comment
iPrestege Posted April 23, 2013 Share Posted April 23, 2013 setObjectBreakable(object,true) Link to comment
montel Posted April 23, 2013 Author Share Posted April 23, 2013 Not working setObjectBreakable(3091,true) Link to comment
iPrestege Posted April 23, 2013 Share Posted April 23, 2013 Not working setObjectBreakable(3091,true) No that's wrong post the script when you create the object ? Link to comment
PaiN^ Posted April 23, 2013 Share Posted April 23, 2013 The first argument of setObjectBreakable is an object element, Not an object ID .. Link to comment
MIKI785 Posted April 23, 2013 Share 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 Link to comment
montel Posted April 23, 2013 Author Share 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 Link to comment
Castillo Posted April 24, 2013 Share Posted April 24, 2013 You set the script as client side, right? Link to comment
codeluaeveryday Posted April 24, 2013 Share Posted April 24, 2013 Am I the only one who noticed in his original post he wanted to remove the 1423, and not 3091. 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