15.08.2011, 19:06
pawn Code:
stock randomString(strDest[], strLen = 10)
{
while(strLen--)
strDest[strLen] = random(2) ? (random(26) + (random(2) ? 'a' : 'A')) : (random(10) + '0');
}
pawn Code:
new
string[10]
;
randomString(string, 10);