Jump to content

[BUG] Why not working the nitro on my server?


Tokio

Recommended Posts

Posted

I added nitro to my car, then i press the left alt button, and the nitro not activated.. How can i fix this with a script, or anything? Another server still working the nitro with left alt button..

My servers:

Fun:

n-560x95_FFFFFF_FFFFFF_000000_000000.png

Derby(DD):

n-560x95_FFFFFF_FFFFFF_000000_000000.png

  • Moderators
Posted (edited)

https://wiki.multitheftauto.com/wiki/SetVehicleNitroActivated

 

-- CLIENT SIDE

bindKey("lalt", "both", function(key, keystate)
	local vehicle = getPedOccupiedVehicle(localPlayer)
	if vehicle then
		setVehicleNitroActivated(vehicle, keystate == "down")
	end
end)

 

Edited by stPatrick
  • Thanks 1

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