26.07.2012, 20:53
You're using "AddStaticVehicleEx" to create the vehicles.
There are LOADS of lines which use the function "Vehicle_AddStatic" in that file.
This is a function that can be found in "PPC_Common.inc" and it responsible for several tasks:
- create the vehicle
- set the fuel for that vehicle to maximum
- store data about the vehicle in AVehicleData
- protect this vehicle from being deleted by the command /cleanupcars
There are LOADS of lines which use the function "Vehicle_AddStatic" in that file.
This is a function that can be found in "PPC_Common.inc" and it responsible for several tasks:
- create the vehicle
- set the fuel for that vehicle to maximum
- store data about the vehicle in AVehicleData
- protect this vehicle from being deleted by the command /cleanupcars