SA-MP Forums Archive
Car Collision Disable? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Car Collision Disable? (/showthread.php?tid=662139)



Car Collision Disable? - Fabyx15 - 24.12.2018

Is there way to disable collision between cars in a certain range of point?

I was thinking about something like in the public OnPlayerUpdate to check if the player is in range of point, but i don't know if there is a way to disable car collision.


Re: Car Collision Disable? - coool - 24.12.2018

Код:
DisableRemoteVehicleCollision
is the function you are looking for.
Instead of checking in "OnPlayerUpdate" I would suggest using Areas and checking if player is in a certain area.


Re: Car Collision Disable? - Fabyx15 - 24.12.2018

Thanks