VehicleId AddStaticVehicle NPC
#1

Hello,

In my GM i have CreateVehicle. I load 10 cars with a file ( for save position-color...)
So the vehicleID: First vehicle: Police id: 1 Police1 id: 2 Police2 id: 3 Taxi id: 4 Taxi1 id: 5 Sultan id: 6 Sultan id: 7 Sultan id: 8 Sultan id: 9 Sultan id: 10.

Now i want to add a NPC who drive a train. I need AddStaticVehicle. If i add AddStaticVehicle in the OnGameModeInit, vehicleID of the train is 1 and first vehicle Police id2 ....

My Question is simple. How in OnGameModeInit to choose a Vehicle d for AddStaticVehicle.

Example:

Vehicleid(11) = AddStaticVehicle(444,-302.5649,1777.7349,42.2514,238.5039,6,25); .

Thank.
Reply


Messages In This Thread
VehicleId AddStaticVehicle NPC - by nico005 - 05.10.2009, 13:38
Re: VehicleId AddStaticVehicle NPC - by Beaver07 - 05.10.2009, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)