You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out that there will be an error thrown to the console after using native GET_HUD_SCREEN_POSITION_FROM_WORLD_POSITION in command's handler function, that is called after pressing button registered in REGISTER_KEY_MAPPING. Instead of using this native stright in command function, you have to create a thread outside or inside command handler.
What happened?
I found out that there will be an error thrown to the console after using native
GET_HUD_SCREEN_POSITION_FROM_WORLD_POSITION
in command's handler function, that is called after pressing button registered inREGISTER_KEY_MAPPING
. Instead of using this native stright in command function, you have to create a thread outside or inside command handler.Example Code:
Expected result
There shouldn't be any error thrown
Reproduction steps
Importancy
There's a workaround
Area(s)
Natives
Specific version(s)
FiveM: 10236/beta FXServer: b9875 Game Build: 3095
Additional information
No response
The text was updated successfully, but these errors were encountered: