10.03.2012, 05:06
pawn Код:
for(new Vehicles = 0; Vehicles < MAX_VEHICLES; Vehicles++)
{
new string[30];
for(new Vehicles = 0; Vehicles < MAX_VEHICLES; Vehicles++)
format(string, sizeof(string),"KOS", Vehicles);
SetVehicleNumberPlate(Vehicles,string);
}
}}
Quote:
Note: This function has no error checking. Do not assign custom number plates to vehicles without plates (boats etc) as this will result in some unneeded processing time on the client Note: The vehicle must be respawned or restreamed for the changes to take effect. Note: There's a limit of 32 characters on each NumberPlate. Note: This function only works in versions 0.2.1, 0.2.2, 0.2x and 0.3c (and beyond) |