Adding Vehicles From MTA in to Game MOde - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Adding Vehicles From MTA in to Game MOde (
/showthread.php?tid=373320)
Adding Vehicles From MTA in to Game MOde -
Geeboi_Mehdi - 30.08.2012
When I add Cars Like AddStaticVehicle I Have 0 Fuel on the Boat What Happened look at these Pics.
Any Help Please Rep +
Re: Adding Vehicles From MTA in to Game MOde -
Ballu Miaa - 30.08.2012
Go to this site
serverffs.com
There's an option on the top 'Upload instead of Pasting' Do that map. Upload your map file and convert it. You will code for Objects as well as Vehicles.
Re: Adding Vehicles From MTA in to Game MOde -
Mr.Anonymous - 30.08.2012
It looks like your using PPC_Trucking. Just find the line "
GameModeInit_TruckDepots()" and somewhere down, add your vehicle the same way as other vehicles defined there.
Код:
LastVehicleID = Vehicle_AddStatic(VehicleID,X, Y, Z, Angle, random(126), random(126), 300);
Example:
Код:
LastVehicleID = Vehicle_AddStatic(577,1557.6329,1416.7290,10.9538,232.6617, random(126), random(126), 300);
That will add a vehicle with fuel in it
Re: Adding Vehicles From MTA in to Game MOde -
Lordzy - 30.08.2012
Use
www.convertffs.com
It converts vehicles also.
I guess the problem in Fuel may occur if the fuel script contains additional features to add your vehicles in fuel script then only it may be having Fuel content
Re: Adding Vehicles From MTA in to Game MOde -
Mr.Anonymous - 30.08.2012
Quote:
Originally Posted by [xB]Lordz
|
Its not that problem. He uses PPC_Trucking and this thing happens when adding new vehicle. Look what i said.
Re: Adding Vehicles From MTA in to Game MOde -
Geeboi_Mehdi - 03.09.2012
True I think it is like that i tryed it and it worked thank's Rep +