SetVehicleNumberPlate
#2

pawn Код:
new LetterList[26][] =
{
    "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"
};
now the random:
pawn Код:
new string[10];
    format(string, sizeof(string), "%s%s%s%s %d%d%d", LetterList[random(sizeof(LetterList))], LetterList[random(sizeof(LetterList))], LetterList[random(sizeof(LetterList))], LetterList[random(sizeof(LetterList))], random(10), random(10), random(10));
    SetVehicleNumberPlate(vehicleid, string);
and it will have 4 letters and 4 numbers,i will make the saving now
Reply


Messages In This Thread
SetVehicleNumberPlate - by Lidor124 - 08.03.2014, 19:45
Re: SetVehicleNumberPlate - by XK - 08.03.2014, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)