Scholler Posted July 2, 2019 Share Posted July 2, 2019 So many FUN servers have this resource. You're in a car, and you need to hold the left alt to speed up your car. It can go up to the max speed of that car, I think. So, can someone tell me what's the name of the resource? I can't find it anywhere. Link to comment
Hade.BGD Posted July 2, 2019 Share Posted July 2, 2019 You can do it yourself, not all resources are free to use or public,sorry! Link to comment
xMKHx Posted July 15, 2019 Share Posted July 15, 2019 crash = {{{{{{{{ {}, {}, {} }}}}}}}} isSpeedEnabled = false function Speedd() if ( getPedOccupiedVehicle( localPlayer ) ) then if ( getVehicleController( getPedOccupiedVehicle( localPlayer ) ) == localPlayer ) then if ( isVehicleOnGround( getPedOccupiedVehicle( localPlayer ) ) ) then if ( getAnalogControlState("accelerate") == 1) then local velX, velY, velZ = getElementVelocity( getPedOccupiedVehicle( localPlayer ) ) local a = setElementVelocity( getPedOccupiedVehicle( localPlayer ), velX * 1.1, velY * 1.1, velZ ) end end end end end function startSpeed() addEventHandler("onClientRender", root, Speedd) isSpeedEnabled = true end function killSpeed() if (isSpeedEnabled) then removeEventHandler("onClientRender", root, Speedd) isSpeedEnabled = false end end function bindStuff() outputDebugString("Binding keys for Speed") bindKey("lalt", "down", startSpeed) bindKey("lalt", "up", killSpeed) end bindStuff() 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