OğuzhanA. Posted June 30, 2019 Share Posted June 30, 2019 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
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