11.02.2014, 05:09
pawn Код:
new PlateVehicle[MAX_VEHICLES][10];
new result[10];
RandomText(result, 8);
format(PlateVehicle[vehicleid],8,"%s",result);
SetVehicleNumberPlate(vehicleid,PlateVehicle[vehicleid]);
stock RandomText(strDest[],strLen=8)
{while(strLen--) strDest[strLen]=random(2)?(random(26)+(random(2)?'a':'A')):(random(10)+'0');}