06.04.2012, 12:47
Код:
new NumericArray[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; // I think this is the away you initialize an array with values in pawno new name[24]; GetPlayerName(playerid, name, sizeof(name)); for(new i = 0; i <= strlen(name); ++i) for(new j = 0; j < 10; ++j) if(name[i] == NumericArray[j]) { SendClientMessage(playerid, -1, "Invalid Name"); Kick(playerid); }