A7M8D Posted July 18, 2017 Posted July 18, 2017 السلام عليكم الكود شغال بس يجيب لاق قوي + الدي بق كاد ان ينفجر ض setTimer( function() for index,vehicle in ipairs(getElementsByType("vehicle")) do local v = getPedOccupiedVehicle(localPlayer) if getElementDimension(vehicle) == 200 then setElementCollidableWith(vehicle, v, false) else setElementCollidableWith(vehicle, v, true) end end end, 50, 0) المطلوب السيارات الي في عالم وهمي 200 تدخل في بعض عادي I couldn't wait for success, so I went ahead without it.
Mhmd.z Posted July 18, 2017 Posted July 18, 2017 وش يكتبلك بالدي بق ؟ + جرب زيد عدد التايمر ل 250 او اكثر
TAPL Posted July 18, 2017 Posted July 18, 2017 setTimer(function() local v = getPedOccupiedVehicle(localPlayer) if v then for index, vehicle in ipairs(getElementsByType("vehicle", true)) do if getElementDimension(vehicle) == 200 then setElementCollidableWith(vehicle, v, false) else setElementCollidableWith(vehicle, v, true) end end end end, 1000, 0)
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