Add screen width to client natives
This commit is contained in:
@@ -567,4 +567,16 @@ function getPlayerPed(client) {
|
||||
return client.player;
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function getScreenWidth() {
|
||||
return game.width;
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function getScreenHeight() {
|
||||
return game.height;
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
Reference in New Issue
Block a user