SetVehicleNumberPlate
#3

You must spawn the vehicles before setting the plate. After setting it, you must respawn the vehicle.

pawn Код:
//Spawn vehicles before this part:

for(new Vehicles = 0; Vehicles < MAX_VEHICLES; Vehicles++)
{
new string[30];
format(string, sizeof(string),"LV - %d", Vehicles);
SetVehicleNumberPlate(Vehicles, string);
SetVehicleToRespawn(Vehicles);
}

EDIT:
Sorry, I copied the wrong code. Fixed
Reply


Messages In This Thread
SetVehicleNumberPlate - by zxc1 - 01.11.2011, 10:58
Re: SetVehicleNumberPlate - by TheLoolyWiz - 01.11.2011, 11:35
Re: SetVehicleNumberPlate - by Jakku - 01.11.2011, 11:38
Re: SetVehicleNumberPlate - by zxc1 - 01.11.2011, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)