Mike269 Posted June 18, 2013 Posted June 18, 2013 Hello im 13 years old boy I have my own server i searching for vehjump like 2 months please i will be very glad if will someone make it add me on skype simonos2000 or please upload to resource on www.mta.com and send me link at this post THANKS VERY MUCH!
PaiN^ Posted June 18, 2013 Posted June 18, 2013 What is "VEHJUMP" ? And i don't think any one would make a resource for free ! " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
Castillo Posted June 18, 2013 Posted June 18, 2013 I think he wants an script which let's you make your vehicle jump when press a key. @Shadex: Is not a hard script, but we won't do it for you, you must learn to do it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted June 18, 2013 Posted June 18, 2013 Well, you better start to learn then. viewtopic.php?f=148&t=40809 Functions you would need: bindKey getPedOccupiedVehicle getElementVelocity setElementVelocity San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
xTravax Posted June 18, 2013 Posted June 18, 2013 well he's my friend from game so i'll help him function jump() local vehicle = getPedOccupiedVehicle(getLocalPlayer()) if (isVehicleOnGround( vehicle ) == true) then local sx,sy,sz = getElementVelocity ( vehicle ) setElementVelocity( vehicle ,sx, sy, sz+0.35 ) end end bindKey ( "lshift","down", jump)
Mike269 Posted June 20, 2013 Author Posted June 20, 2013 Hello i got it! I have this script but.. when i pres lshift i can jump only one time then i must wait vehicle come on floor's can someone tell me how i can make the vehicle will can jump in the air and don't need waiting on floors?
iMr.3a[Z]eF Posted June 20, 2013 Posted June 20, 2013 why you posted the same reply twice? https://community.multitheftauto.com/ind ... ls&id=7406 To Visit Us Press Here: mtasa://5.9.206.180:22002
Dealman Posted June 20, 2013 Posted June 20, 2013 why you posted the same reply twice?https://community.multitheftauto.com/ind ... ls&id=7406 It happens sometimes if you have the same thread open in different tabs or whatever, I've done the same mistake myself a few times. @OP: This is what checks if you're on the ground, and if you are you can jump - otherwise not. if (isVehicleOnGround( vehicle ) == true) then local sx,sy,sz = getElementVelocity ( vehicle ) setElementVelocity( vehicle ,sx, sy, sz+0.35 ) end If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
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