SA-MP Forums Archive
it is possible??? - 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: it is possible??? (/showthread.php?tid=605582)



it is possible??? - Bulgaria - 21.04.2016

It is possible to make handling in my server and anyone who drive a car who i put handling will use same handling who i put... yeah i hope you understand Sorry for my bad english


Re: it is possible??? - introzen - 21.04.2016

Handling of vehicles are client defined by the GTA:SA game itself. I could believe the SA:MP client force use of normal handling if the player has edited the handling file in the game content, however there's no way that I know of setting the handling server-sided.

The only way I can think of is by using OnPlayerKeyStateChange and IsPlayerInVehicle, but that would be very hard to accomplish perfectly, along with very unefficient for the server.


Re: it is possible??? - Bulgaria - 21.04.2016

Aha ok thanks !


Re: it is possible??? - Saliim - 21.04.2016

Yes with OnPlayerKeyStateChange