mucuk6547 Posted June 3, 2023 Share Posted June 3, 2023 Client; bindKey("x", "both", --- tuş ayar function(key, state) if state == "down" then if getElementData(localPlayer, "apontar") == false then setElementData(localPlayer, "apontar", true) triggerServerEvent ( "onClientSyncVOZ", localPlayer ) end else setElementData(localPlayer, "apontar", false) triggerServerEvent ( "onClientSyncVOZparar", localPlayer ) end end ) Server; addEvent("onClientSyncVOZ", true ) addEventHandler("onClientSyncVOZ", root, function() setPedAnimation(source, "GHANDS", "gsign1", 0, true, false, false) setTimer ( setPedAnimationProgress, 100, 1, source, "gsign1", 1.16) setTimer ( setPedAnimationSpeed, 1500, 1, source, "gsign1", 0) end ) addEvent("onClientSyncVOZparar", true ) addEventHandler("onClientSyncVOZparar", root, function() setTimer ( setPedAnimation, 100, 1, source, "GHANDS", "gsign1", 5000, false, false, false) setTimer ( setPedAnimation, 250, 1, source, nil) end ) Can I add the custom animation code I made, called santral.ifp, to these codes? Link to comment
mucuk6547 Posted June 3, 2023 Author Share Posted June 3, 2023 (edited) https://cdn.discordapp.com/attachments/278520948347502592/1114565770748379288/2023-06-03_17-44-39.mp4 why is he doing this Change shotgun animation Edited June 3, 2023 by mucuk6547 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