05.10.2009, 13:38
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.
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.