Get....ScreenResolution() doing some weird stuff in editor

When using any Get....ScreenResolution() with GetNuiCursorPosition() fxDk defaults to the whole window instead of just the editor/game screen (should be just the active window where game is in). Works as intended on the main client.

This makes anything to do with Resolution development a massive pain.

Ouch, thanks for reporting!

So, hm, cursor pos is getting fixed, yeah, but screen resolutions are correct, you need to use _GET_ACTIVE_SCREEN_RESOLUTION - Cfx.re Docs and NOT GET_SCREEN_RESOLUTION - Cfx.re Docs

1 Like