Jump to content

help me with jump script pls


Jeremy15

Recommended Posts

Do you wan't car jump script?

here you are :

Client ....:

bindKey ( "lshift","down",  
function ()       
    local vehicle = getPedOccupiedVehicle(localPlayer) 
    if (isVehicleOnGround( vehicle ) == true) then           
    local sx,sy,sz = getElementVelocity ( vehicle ) 
                    setElementVelocity( vehicle ,sx, sy, sz+0.3 ) 
    end 
end 
) 
Link to comment

@Mr.Pres[T]ege :

He means he wants the code to do as it's shown in the video in the 1:11 minute ..

@Jeremy :

I think you should use :

createColCircle 
"onColShapeHit" 

And get the rest from Mr.Pres[T]ege's code ..

Client ....:

bindKey ( "lshift","down",  
function ()       
    local vehicle = getPedOccupiedVehicle(localPlayer) 
    if (isVehicleOnGround( vehicle ) == true) then           
    local sx,sy,sz = getElementVelocity ( vehicle ) 
                    setElementVelocity( vehicle ,sx, sy, sz+0.3 ) 
    end 
end 
) 
Link to comment
  • 4 years later...

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