14.11.2011, 17:29
after you converted the cars from mta where are you placing the vehicles
but ill tell you where to put them anyway just incase
you need to goto pawno/includes/PPC_Gamemodeinit
look for (this is just an example)
// Add trucks and trailers to the truck-stops
GameModeInit_TruckDepots()
{
// Add trailers, trucks , Flatbeds and "DFT-30" to Fallen Tree Depot (Class 0)
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Cargo trailer
LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -475.0, -518.0, 26.0, 90.0, random(126), random(126), 600); // Ore trailer
then if you got a new class add your own then you must make sure that have have what i posted below
// Add some banshees to yakuza base
GameModeInit_Yakuza();
this is close to the top of the include
then below under all your other classes
// Add Banshees
GameModeInit_Yakuza()
{
//Add banshees to Yakuza base sf
LastVehicleID = Vehicle_AddStatic(VehicleBanshee, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Banshee
but if this is the case you must define the vehicle in the pawno/includes/PPC_Defines
if it isnt define already
if you adding extra vehicles to like truckers just go straight to the
//Add banshees to Yakuza base sf
LastVehicleID = Vehicle_AddStatic(VehicleBanshee, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Banshee
Section of the selected class you are adding vehicles to or depos so trucker look for trucker ect ect
thats the only way i can think of that the cars have no fuel coz you cannot add them via Addstaticvehicle like in a filterscript coz they will have no fuel
i hope this helps
but ill tell you where to put them anyway just incase
you need to goto pawno/includes/PPC_Gamemodeinit
look for (this is just an example)
// Add trucks and trailers to the truck-stops
GameModeInit_TruckDepots()
{
// Add trailers, trucks , Flatbeds and "DFT-30" to Fallen Tree Depot (Class 0)
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Cargo trailer
LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -475.0, -518.0, 26.0, 90.0, random(126), random(126), 600); // Ore trailer
then if you got a new class add your own then you must make sure that have have what i posted below
// Add some banshees to yakuza base
GameModeInit_Yakuza();
this is close to the top of the include
then below under all your other classes
// Add Banshees
GameModeInit_Yakuza()
{
//Add banshees to Yakuza base sf
LastVehicleID = Vehicle_AddStatic(VehicleBanshee, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Banshee
but if this is the case you must define the vehicle in the pawno/includes/PPC_Defines
if it isnt define already
if you adding extra vehicles to like truckers just go straight to the
//Add banshees to Yakuza base sf
LastVehicleID = Vehicle_AddStatic(VehicleBanshee, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Banshee
Section of the selected class you are adding vehicles to or depos so trucker look for trucker ect ect
thats the only way i can think of that the cars have no fuel coz you cannot add them via Addstaticvehicle like in a filterscript coz they will have no fuel
i hope this helps