Open csskroubledev opened 1 month ago
i cant reproduce that
i cant reproduce that
it's quite random, sometimes I can reconnect 20 times and not make it happen, and one time I reconnect just one time and it happens.
i cant reproduce that
it's quite random, sometimes I can reconnect 20 times and not make it happen, and one time I reconnect just one time and it happens.
I don't think it's directly a problem of altv. It can also simply be a timing issue
Description of the problem
If you use
alt.on('keydown', ()=>{})
anywhere in your code most of the time it stops working (sending events) after reconnecting in debug mode.Reproduction steps
Register an 'keydown' event
Reconnect using debug mode (mostly happens when server is turned off, and then you reconnect)
Callbacks are no longer sent to the event
Expected behaviour
Register an 'keydown' event
Reconnect using debug mode
Event is emitted, everything works as usual
Additional context
This issue is still happening back from altV v14, but never bothered me enough to report it.
Operating system
Windows 10 (v. 10.0.19045.4412)
Version
release
Crashdump ID
No response
Confirmation of issue's presence