Fantanic Posted April 8, 2014 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
Saml1er Posted April 8, 2014 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
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