GetPlayerScale Client function
Jump to navigation
Jump to search
This function was added in version: 0.0.4.1 |
Returns the x-, y- and z-scale of the player.
Syntax
table[x, y, z] getPlayerScale(int id)
Required Arguments
- id: id of the player who's scale you want to get.
Returns
- x: x-scale of the player.
- y: y-scale of the player.
- z: z-scale of the player.
Example
function checkPlayerSize(id)
{
if(getPlayerScale(id).y > 3)
{
print("Playersize > 3");
}
}