23.05.2011, 07:43
Well, you could make it use the Vehicle's Index ID.
Then theres no chance of there being a non unique Plate.
like:
Then theres no chance of there being a non unique Plate.
like:
Код:
new lplate[9]; vehicleId = random(100); for(new i = 0; i < 5; i++) lplate[i] = 65+random(24); format(lplate,9,"%s-%d",lplate,vehicleid); SetVehicleNumberPlate(vehicleid,lplate);