Jump to content

error lying down


Recommended Posts

He won't shoot when he's down.

Video:https://www.youtube.com/watch?v=n_FsoDIHFOU&feature=youtu.be

Client:

    local customBlockName = "rifleAnims"

    -- load the IFP file
    local IFP = engineLoadIFP( "rifle.ifp", customBlockName )

    -- let us know if IFP failed to load
    if not IFP then
        outputChatBox( "Failed to load 'rifle.ifp'" )
    end

    -- bind z to the ground animation
    bindKey("z","down",
    function ()
      local block,anim = getPedAnimation(localPlayer)
        if block == customBlockName and anim == "RIFLE_crouchfire" then
            setPedAnimation(localPlayer)
        else
            setPedAnimation(localPlayer,customBlockName,"RIFLE_crouchfire")
        end
    end
    )

  

 

Link to comment

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