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 ..
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
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
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.
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