09.08.2011, 07:14
Quote:
|
oh, no, my solution will fail then. a math calculation for ranks should do fine. lets say for each 100 kills, you get 1 rank added?
Код:
new RankPromotion=floatround(PlayerInfo[playerid][pKills]/100,floatround_floor); 000-099 kills: still rank 0. 100-199 rank 1 etc. due the rank divided by 100 gives a float value, the floatround_floor will make it an integer again, whcih can be used to point to the rank array. |
Float = Decimal in short


