wsx5069 Posted October 6, 2020 Posted October 6, 2020 (edited) How do I set a button that jumps and a button cancels jumping function pxl () guiSetVisiblie (c1) true showCursor(true) end addEvenhandler ("onClientGUTClick " , root , function () if sourec == -dd-then guiSetVisiblie(ا1) ، fales showCursor(fales) end end) guiSetEnabled (1) (fales) outputChatBox("py pxl",255,0,0,true) key = "alt" -- player = localPlayer bindKey(key,"down", function pxl() if isPedInVehicle(player) then local veh = getPedOccupiedVehicle(player) if isPedOnGround(player) then local vx,vy,vz = getElementVelocity(veh) setElementVelocity(veh,vx,vy,vz + 0.5) end end end ) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), startclient) function pxl () guiSetVisiblie (0) end Edited October 6, 2020 by wsx5069
Moderators Tut Posted October 10, 2020 Moderators Posted October 10, 2020 Thread moved to the Scripting forum. For any further posting for scripting help, please use this forum. Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime - Lao Tzu
Tekken Posted October 10, 2020 Posted October 10, 2020 Sorry but I don’t quite understand your question, also your script has no logic, it’s completely messed up. Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
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