02.08.2013, 20:53
The maximum drunk level is 50000, which makes 1% 500.
Here's a function to work out the percentage of maximum from the player's maximum drunk level:
Here's a function to work out the percentage of maximum from the player's maximum drunk level:
pawn Код:
stock GetPlayerDrunkPercentage(playerid)
{
return (GetPlayerDrunkLevel(playerid) / 50000) * 100;
}