Jump to content

Recommended Posts

Posted

Aceasta esti mai mult o functie decat un include, zilele astea am avut nevoie de una si voila, am facut una.

Speed Test

fy26KCQ.png

Cod.

GetRandomString( const iCodeLength ){
    
    new szString[ 30 ], length = ( iCodeLength >= 30 ) ? ( 29 ) : ( iCodeLength );
    for( new i = 0; i < length; i ++ ){
        szString[ i ] = ( random( 2 ) ? ( random( 2 ) ? ( '0' + random( 10 ) ) : ( '!' + random( 4 ) ) ) : ( random( 26 ) + ( random( 2 ) ? ( 'a' ) : ( 'A' ) ) ) );
    }
    return szString;
}

I'm back bitches.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.