xTravax Posted September 16, 2012 Share Posted September 16, 2012 Well i take a script from neon fun to make bounce script and there's a problem.. i tested it on my local server and i'm quoting WARNING:jump/script.lua:1: Bad argument @ 'bindKey' but it started sucessfully but don't work Here's the script bindKey("lshift","down", function () local veh = getPedOccupiedVehicle(getLocalPlayer()); if (isVehicleOnGround(veh)) then local vx,vy,vz = getElementVelocity(veh); setElementVelocity(veh, vx, vy, vz + 0.5); end end ); and in meta i putted as client side but all normal script src script.lua and then client side..........can someone help me? Link to comment
TAPL Posted September 16, 2012 Share Posted September 16, 2012 bindKey("lshift","down", function () local veh = getPedOccupiedVehicle(getLocalPlayer()); if (veh and isVehicleOnGround(veh)) then local vx,vy,vz = getElementVelocity(veh); setElementVelocity(veh, vx, vy, vz + 0.5); end end ); If not work, post your meta.xml 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