Quote:
Originally Posted by wups
There is a better format.
pawn Code:
public OnVehicleSpawn(vehicleid) { new string[50], model; model = GetVehicleModel(vehicleid); format(string,sizeof(string),"{000000}%c%c%c %i%i%i",(65+random(26)),(65+random(26)),(65+random(26)),random(10),random(10),random(10)); // feel free to change the format. if(!IsAPlane(model) && !IsABoat(model)) SetVehicleNumberPlate(vehicleid,string); }
This makes completely random numbers.
|
Nice, i like this better. Thanks.
Peace...