05.03.2012, 03:17
(
Последний раз редактировалось SnG.Scot_MisCuDI; 05.03.2012 в 03:47.
)
Im making a cmd where players type /plate and then each new car they make it has that plate for only their car.
But its not working :/
And how can i add color to the plate?
and it wont spawn with the cars when server starts only when i respawn cars
But its not working :/
And how can i add color to the plate?
pawn Код:
CMD:plate(playerid,params[])
{
for(new Vehicles = 1; Vehicles < MAX_VEHICLES; Vehicles++)
{
new string[30];
format(string, sizeof(string),"%d", Vehicles);
SetVehicleNumberPlate(playerid, string);
}
return 1;
}
pawn Код:
for(new Vehicles = 0; Vehicles < MAX_VEHICLES; Vehicles++)
{
new string[30];
for(new Vehicles = 0; Vehicles < MAX_VEHICLES; Vehicles++)
format(string, sizeof(string),"{ff00ff}SnG-Fun", Vehicles);
SetVehicleNumberPlate(Vehicles,string);
}