Client Exports
Make sure to use the exports correctly and pass the arguments properly to ensure the resource works as intended
PlayEmote
Plays the emote on the specified ped, for example: 'dance3', PlayerPedId()
exports['ikerdrgz-emotes']:PlayEmote(emote, ped)
SetExpression
Sets the expression on player ped, for example: 'aiming'
exports['ikerdrgz-emotes']:SetExpression(expression)
SetWalk
Sets the walk style on player ped, for example: 'money'
exports['ikerdrgz-emotes']:SetWalk(walkStyle)
RefreshWalk
Re-sets the saved walk style
exports['ikerdrgz-emotes']:RefreshWalk()
CancelEmote
Cancels the current playing emote
exports['ikerdrgz-emotes']:CancelEmote()
ToggleMenu
Toggles emotes NUI, as the keymapping
exports['ikerdrgz-emotes']:ToggleMenu()
IsMenuShown
Returns if radio NUI is displaying or not
exports['ikerdrgz-emotes']:IsMenuShown()
Last updated