07.06.2015, 11:08
If you want a random 5 digit number you don't have to call random 5 times ... That's just silly. Simply use random(100000) to generate a number between 0 and 99999. Then display using "%05d". And since "Kod" (whatever that may mean) appears to be an integer, all you need is:
pawn Код:
PlayerInfo[id][pKod] = random(100000)