stock randomString(strDest[], strLen = 10) {while(strLen--)strDest[strLen] = random(2) ? (random(26) + (random(2) ? \'a\' : \'A\')) : (random(10) + \'0\');}
new string[10];randomString(string, 10);
#include <a_samp>stock randomString(strDest[], strLen = 10) { while(strLen--) strDest[strLen] = random(2) ? (random(26) + (random(2) ? \'a\' : \'A\')) : (random(10) + \'0\');}public OnPlayerCommandText(playerid, cmdtext[]){ if(!strcmp(cmdtext, \"/rstring\", true)) { new string[10];randomString(string, 10); SendClientMessage(playerid, -1, string); return 1; } return 0;}