SA-MP Forums Archive
How To Add Cars When you have a DealerShip System - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How To Add Cars When you have a DealerShip System (/showthread.php?tid=115016)



How To Add Cars When you have a DealerShip System - Onyx09 - 22.12.2009

how do i add cars to my server without affecting the Dealership system so the code dosent affect the new cars or the old cars in game

i know how to add cars with debug but due to the gamemod i have has a buyable cars system and sentable Script name

GTARP by jofi

is there a Special Code that will separate these cars from the others Pls help

Thanks if you got the code that will do this pls post it here


Re: How To Add Cars When you have a DealerShip System - Deat_Itself - 22.12.2009

for adding vehicle in the server :
pawn Код:
AddStaticVehicle(modelid, Float:x, Float:y, Float:z, Float:z_angle, color1, color2);
pawn Код:
AddStaticVehicleEx(modelid, Float:x, Float:y, Float:z, Float:z_angle, color1, color2, respawn_time);
or you can get tutorial from
https://sampwiki.blast.hk/wiki/PAWN_tutorial


Re: How To Add Cars When you have a DealerShip System - Onyx09 - 22.12.2009

i know that but that will affect the Car System -_- so it will be all buged the cars id's will change


Re: How To Add Cars When you have a DealerShip System - Deat_Itself - 22.12.2009

Quote:
Originally Posted by Onyx09
i know that but that will affect the Car System -_- so it will be all buged the cars id's will change
i doesnt got your point .What you exactly want to do !


Re: How To Add Cars When you have a DealerShip System - Vetle - 22.12.2009

try adding new cars after the old ones


Re: How To Add Cars When you have a DealerShip System - Onyx09 - 22.01.2010

He Wants To add Cars Without affecting the Car Dealer System so he dont get the cars bugged

well i think you should use a Filter Script or either just add more cars to Max_cars number u noe
and add em Separated from the others? actually i took a look at Jofi's Edit and he added the dealer cars to a
Ini File so u will have to edit both files bro good luck i know u can fix that


Re: How To Add Cars When you have a DealerShip System - Nakash - 22.01.2010

You are probably using a system working on Dini or something else,there must be a file..
Look for it and edit it.


Re: How To Add Cars When you have a DealerShip System - Calvin_Largent - 03.06.2010

Sorry to bump this oldass topic but I want to know this too, I'm a newish scripter. and i wanna learn to add cars to my roleplay script, everytime i try it fucks up all the ownable cars and makes cars that shouldnt be buyable, buyable.


Re: How To Add Cars When you have a DealerShip System - Joe_ - 03.06.2010

In your dealership system, are you reseting your array to store the vehicleIDs? If you're not, they'll probably get mixed up on GMX.


Re: How To Add Cars When you have a DealerShip System - Calvin_Largent - 03.06.2010

I just need a good explanation of how to add a vehicle without fucking up my dealership cars, please?