Hy,
As we often use
NetworkIsPlayerTalking(PlayerId())
I am trying to use button to trigger an event. Since the button can be changed from player side, I need to find a way to detect player button setting.
Thank you,
Meh96
Fivem Forum Member
Hy,
As we often use
NetworkIsPlayerTalking(PlayerId())
I am trying to use button to trigger an event. Since the button can be changed from player side, I need to find a way to detect player button setting.
Thank you,
Meh96
Fivem Forum Member
249 INPUT_PUSH_TO_TALK N
_______________________________
if IsControlJustPressed(0, 249) then
TriggerYourEventHere
end
N is the default key, but will work no matter what they change it too