SA-MP Forums Archive
Code random - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Code random (/showthread.php?tid=527043)



Code random - TheNerka - 20.07.2014

Код:
PlayerData[playerid][AdminKey] = 1;
How to 1 change to random 5 numbers. Example 44556

This is admin code


Re: Code random - IceBilizard - 20.07.2014

pawn Код:
new randcode = 10000 + random(89999);

PlayerData[playerid][AdminKey] = randcode;



Re: Code random - TheNerka - 20.07.2014

Thanks