Hellow, I have a little problem with LUA with NUI, one of you know how to prevent the repetition?
I explain:
Step 1.the player writes /api that makes a check in BDD before hand then its opens the NUI
Step 2. the player closes the NUI directly
Step 3. the player redoes the command /api it redoes the step 1.
Step 4. the player clicks in the nui (to join this safezone), of my side client its duplicates 2 times this function js (print X2).
(Other example), player type /api and close, and retype /api and reclose, and type /api and valid $.post entering is showing X3…
Movie : FiveM Bug NUI - YouTube
I don’t understand solved ;/ thanks for your help.
Shepard