eXorcism Posted August 16, 2015 Report Share Posted August 16, 2015 Aceasta esti mai mult o functie decat un include, zilele astea am avut nevoie de una si voila, am facut una.Speed TestCod. 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; } Quote I'm back bitches. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.