Jump to content
RAGE Multiplayer Community

Why collisions doesn't work.


Recommended Posts

	if(mp.players.local.vehicle) {
		_player.forEach(___player => {
			if(!___player.vehicle) return;
			mp.players.local.vehicle.setNoCollision(___player.vehicle.handle, false);
			mp.players.local.vehicle.setAlpha(150);
		});
	}

I use this function in client-side on render function.

The problem is when 2 players are online on the server, the collisions will work. But when there are three players, the other one can get inside us, which means he doesn't have the collisions activated, but we do, and if he gets out of the car, will be able to get into the one that had the collisions activated.

Link to post
Share on other sites

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...