Need a car ownership - 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: Need a car ownership (
/showthread.php?tid=436328)
Need a car ownership -
brunoboy - 11.05.2013
Someone know where i can download a car ownership for buy cars like that
When you did /buycar and you put the id of the car and the car buy for a price
/buycar [ID] = /buycar 405
Re: Need a car ownership -
GoldZoroGrab - 11.05.2013
this will take very long time to script, you will do all vehicles you need in the script with it's id + adding the price for it
for ex inside the 'buycar' command function:
Код:
INFO1 = COlor1
INFO2 = COlor2
INFO3 = time should the vehicle dissappear since the vehicle's owner left it (seconds)
NOTE: You should fill it
pawn Код:
if(carid==405)
{
new Float:PosX, Float:PosY, Float:PosZ, Float:Angle;
CreateVehicle(405, PosX, PosY, PosZ, Angle, INFO1, INFO2, INFO3);//check the info's up to know what each means
}
Do you want it to ask him for price then sleect yes or no? or you want just to pay money?
choose so i do it