Vehicle Plate
#8

or you can use the UK License Plate I Made
PHP код:
new UKFirstLetter[21][] = {
"A""B""C""D""E""F""G""H""K""L""M""N""O",
"P""R""S""U""V""W""X""Y"
};
new 
UKSecondLetter[23][] = {
"A""B""C""D""E""F""G""H""J""K""L""M""N",
"O""P""R""S""T""U""V""W""X""Y"
};
new 
UKLastFirstLetter[23][] = {
"A""B""C""D""E""F""G""H""J""K""L""M""N",
"O""P""R""S""T""U""V""W""X""Y"
};
new 
UKLastSecondLetter[23][] = {
"A""B""C""D""E""F""G""H""J""K""L""M""N",
"O""P""R""S""T""U""V""W""X""Y"
};
new 
UKLastThirdLetter[23][] = {
"A""B""C""D""E""F""G""H""J""K""L""M""N",
"O""P""R""S""T""U""V""W""X""Y"
};
public 
OnVehicleSpawn(vehicleid)
{
  new 
string[9], yearmonthday,number;
  
getdate(yearmonthday);
  if(
year >= 2013 && month >= 2){number 13;}
  if(
year >= 2013 && month >= 9){number 63;}
  if(
year >= 2014 && month >= 2){number 14;}
  if(
year >= 2014 && month >= 9){number 64;}
  if(
year >= 2015 && month >= 2){number 15;}
  if(
year >= 2015 && month >= 9){number 65;}
  if(
year >= 2016 && month >= 2){number 16;}
  if(
year >= 2016 && month >= 9){number 66;}
  if(
year >= 2017 && month >= 2){number 17;}
  if(
year >= 2017 && month >= 9){number 67;}
  
format(stringsizeof(string), "%s%s%d %s%s%s",UKFirstLetter[random(sizeof(UKFirstLetter))],UKSecondLetter[random(sizeof(UKSecondLetter))],number,UKLastFirstLetter[random(sizeof(UKLastFirstLetter))],UKLastSecondLetter[random(sizeof(UKLastSecondLetter))],UKLastThirdLetter[random(sizeof(UKLastThirdLetter))]);
  
SetVehicleNumberPlate(vehicleidstring);
  
//new engine, lights, alarm, doors, bonnet, boot, objective;
  //GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
  //SetVehicleParamsEx(vehicleid, 0, lights, alarm, doors, bonnet, boot, 0);
  //GearDamage[vehicleid] = 0;
  //VehicleInfo[vehicleid][Engine] = 0;
  
return 1;

Reply


Messages In This Thread
Vehicle Plate - by FaZeRs - 09.02.2014, 16:47
Re: Vehicle Plate - by dominik523 - 09.02.2014, 17:12
Re: Vehicle Plate - by FaZeRs - 10.02.2014, 12:49
Re: Vehicle Plate - by ikey07 - 10.02.2014, 13:19
Re: Vehicle Plate - by FaZeRs - 10.02.2014, 20:36
Re: Vehicle Plate - by ikey07 - 10.02.2014, 21:37
Re: Vehicle Plate - by FaZeRs - 10.02.2014, 22:55
Re: Vehicle Plate - by Pillhead2007 - 11.02.2014, 03:11
Respuesta: Vehicle Plate - by OTACON - 11.02.2014, 05:09

Forum Jump:


Users browsing this thread: 1 Guest(s)