diff --git a/scripts/client/native/connected.js b/scripts/client/native/connected.js index 76b1f826..59425940 100644 --- a/scripts/client/native/connected.js +++ b/scripts/client/native/connected.js @@ -567,4 +567,16 @@ function getPlayerPed(client) { return client.player; } +// =========================================================================== + +function getScreenWidth() { + return game.width; +} + +// =========================================================================== + +function getScreenHeight() { + return game.height; +} + // =========================================================================== \ No newline at end of file