bebo1king Posted May 6, 2017 Share Posted May 6, 2017 (edited) Hello , I was asking how can i check if the objects in loop was being looped from file with name "Map1" addEventHandler("onClientResourceStart",root, function() local Objects = getElementsByType("object", getResourceRootElement(getThisResource())) for i , ob in pairs (Objects) do -- Complete the code end end) Edited May 6, 2017 by bebo1king Link to comment
bebo1king Posted May 7, 2017 Author Share Posted May 7, 2017 i made it , close the topic please 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