Generate random string
Hello.
Is there a way in PAWN to generate random string? Thanks for code or an advice. PS. Do not recommend me the RandomX module, i've tried that and it's not working. |
Re: Generate random string
If you mean a string for a number, yes. On the other hand, generating a random string as in sentence, I'd need more explanation on what you're trying to do.
|
Re: Generate random string
I'm trying to do a plugin to record demos on client side and i need a random name for that demo. F.e. something like that "ahagds.dem" or "ghjkqer.dem".
|
Re: Generate random string
PHP Code:
|
Re: Generate random string
Pure randomness
PHP Code:
|
Re: Generate random string
|
Re: Generate random string
Quote:
|
Re: Generate random string
Yes lies. It's still pseudo-randomness
|
Re: Generate random string
There's no use for the capital letters, when used for filenames they're the same.
It would also be more random if you used random_num(0,3) instead of i % 3 |
| All times are GMT -4. The time now is 18:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.