Fantanic Posted April 8, 2014 Share Posted April 8, 2014 Hello , My friend made a map for me but after i uploaded it to my server i can go trought those objects. Anyway to fix it? Note: My friend changed the scale of the objects Greetings , Jonas Link to comment
monumento Posted April 8, 2014 Share Posted April 8, 2014 You cant resize the collision of a object. Link to comment
Fantanic Posted April 8, 2014 Author Share Posted April 8, 2014 Hm ever going to be fixed? greetings Link to comment
Saml1er Posted April 8, 2014 Share Posted April 8, 2014 Well idk but maybe try this: for _,v in ipairs (getElementsByType("object") do if isPedInVehicle ( localPlayer ) then local veh = getPedOccupiedVehicle ( localPlayer ) setElementCollidableWith (veh, v, true ) -- enable the collision else setElementCollidableWith (localPlayer, v, true ) end end 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