SA-MP Forums Archive
******AuthenticatorCode - 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: ******AuthenticatorCode (/showthread.php?tid=615495)



******AuthenticatorCode - MerryDeer - 23.08.2016

Hi,

https://sampforum.blast.hk/showthread.php?tid=597982

So i want to generate secret key for players in database, i need to make that all will be random? how right i need to generate them?


Re: ******AuthenticatorCode - DTV - 23.08.2016

It provides an example in the thread on how to use the function.


Re: ******AuthenticatorCode - MerryDeer - 23.08.2016

Yes, but code i need to generate new, for each player, and this secret code can by any lenght?


Re: ******AuthenticatorCode - MerryDeer - 23.08.2016

And also to use that check if code player input was that i have convert to %06d ?