Scullyy / scully_emotemenu

An emote menu for the FiveM community.
GNU General Public License v3.0
76 stars 56 forks source link

feat(client): hashandsup export #74

Closed mafewtm closed 3 weeks ago

mafewtm commented 3 weeks ago

Just a simple export which returns the state of hasHandsUp. I found a need for this and figured I'd PR it for everyone. Idk if its in the spot you want it to be in but do with it what you will.

Scullyy commented 3 weeks ago

I don’t want anymore exports for checks as this is being re-written with everything being switched to state bags so it’ll just end up being another deprecated export. You can already check it using this anyways:

local isHandsUp = IsEntityPlayingAnim(cache.ped, 'random@mugging3', 'handsup_standing_base', 3)