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