enzoDs Posted February 16, 2020 Share Posted February 16, 2020 Hi, I need help with this function, the problem is that setVehicleHandling does not work even though it does not give debugscript error function bindTheKeys ( commandName ) local veh = getPedOccupiedVehicle ( getLocalPlayer() ) setVehicleHandling ( veh, "numberOfGears", 1 ) bindKey( "w", "down", sumarrpm2 ) bindKey( "w", "up", pararsumarrpm ) end addCommandHandler ( "bindme", bindTheKeys ) Link to comment
Moderators Patrick Posted February 16, 2020 Moderators Share Posted February 16, 2020 setVehicleHandling is a server sided function, and you try to run it on client side. 1 Link to comment
enzoDs Posted February 16, 2020 Author Share Posted February 16, 2020 https://wiki.multitheftauto.com/wiki/SetVehicleHandling F for the wiki fail Link to comment
Moderators Patrick Posted February 16, 2020 Moderators Share Posted February 16, 2020 8 minutes ago, enzoDs said: https://wiki.multitheftauto.com/wiki/SetVehicleHandling F for the wiki fail It's not fail. You can create vehicles on client side too, and then you can use it. 2 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now