Jump to content

Horcrux

Members
  • Posts

    1
  • Joined

  • Last visited

Details

  • Location
    Turkey

Recent Profile Visitors

158 profile views
  • Tut

Horcrux's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Hey, I want to extend the jump time with the help of setPedGravity and enable firing during this time. I extended the jump time with setPedGravity, but how do I get the character to shoot with the weapon? Client: addEventHandler("onClientRender", root, function() local move = getPedMoveState(localPlayer) dxDrawText("Move State: "..move, 158, 225, 301, 358) if move == "jump" then triggerServerEvent("setGravity", localPlayer, localPlayer, move) else triggerServerEvent("setGravity", localPlayer, localPlayer, move) end end) Server: addEvent("setGravity", true) addEventHandler("setGravity", root, function(player, move) if move == "jump" then setPedGravity(player, 0.002) else setPedGravity(player, 0.008) end end)
×
×
  • Create New...