Search the Community
Showing results for tags 'collisions'.
-
Is there a way to check for collisions where the player is looking without aiming the gun as if the getWorldFromScreenPosition and GetPedTargetCollision functions were combined?
-
I've created my first server just little over a while ago and I was wondering is there any way for me to implement better vehicle collisions between 2 players? Example: I'm in a car chasing another player in a car. I want to stop him so I try to perform a pit maneuver (ram my car into his car so that I would unsettle his car and spin him out) What's happening now: I ram my car into his car, he drives off as if nothing happened and I spin out, it's as if his car wasn't even in that position. Bad collisions between 2 player cars, as if the server doesn't sync vehicles properly. What I want to happen: I ram my car into his and he spins out. Good collisions between 2 players. Everything I see on my screen should appear the same on his screen. Server syncs vehicles properly and displays them as they are for all clients. I know that this is possible to do as I played on several servers that has this implemented. Talk to me like to a complete newbie, so far I have only started my server and added createVehicle, noblur and hedit scripts.