SetVehicleNumberPlate Question
#2

Well, you could make it use the Vehicle's Index ID.
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);
Reply


Messages In This Thread
SetVehicleNumberPlate Question - by farmer1710 - 23.05.2011, 07:24
Re: SetVehicleNumberPlate Question - by ViperSniper - 23.05.2011, 07:43
Re: SetVehicleNumberPlate Question - by farmer1710 - 23.05.2011, 07:47
Re: SetVehicleNumberPlate Question - by ColdIce - 23.05.2011, 08:01
Re: SetVehicleNumberPlate Question - by farmer1710 - 23.05.2011, 08:04
Re: SetVehicleNumberPlate Question - by leong124 - 23.05.2011, 08:38

Forum Jump:


Users browsing this thread: 1 Guest(s)