Skip to content

Commit

Permalink
Fix server.setPedAnimation parameter requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
IIYAMA12 committed Jul 13, 2024
1 parent a873f37 commit ba54db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [gameplay]/freeroam/fr_client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function applyAnimation(leaf)
return
end
end
server.setPedAnimation(localPlayer, leaf.parent.name, leaf.name, true, true)
server.setPedAnimation(localPlayer, leaf.parent.name, leaf.name, -1, true, true)
end

function stopAnimation()
Expand Down

0 comments on commit ba54db4

Please sign in to comment.