Jump to content

[BUGS? ]Weird collision problem with custom objects


G-Stefan

Recommended Posts

I'm running a local server and i use G&T custom town

I have some little problems with the custom objects

1.Every player except me can collide with every object. I can enter in some structure but other players cant

2.Sometimes invisible objects seems to appear and bugs starts to appear

Things that might cause this bug

1.The town is far from gta-sa map

I can delete sa map and move the town

2.Collisions doesnt work for me

I can delete the map from downloaded resources folder

3.Map or custom obects doesn-t load as fast as needed

I can set a timer to have a brake of 10 secs between

Useful script? :

addEventHandler("onClientResourceStart",root,  
function () 
for i, v in pairs (getElementsByType("object")) do 
setElementCollidableWith(localPlayer,v,true) 
setElementCollisionsEnabled(v,true) 
end 
) 

Please give me some advices

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...