SA-MP Forums Archive
How to make car system like this > - 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 make car system like this > (/showthread.php?tid=155579)



How to make car system like this > - shabi rox - 19.06.2010

Hey guys i want to make ownable car system like this plz tell me .

pics>
Pickup : I did it >



CMD : Easy



dIALOG style : I did it also :


Now : pLZ tell me : Who buy car "Car register to %s"


**


**


**


**



I make sys like this . I do dailog : But don't know what to do now plz tell >


Re: How to make car system like this > - Lajko1 - 19.06.2010

do all what yo usee on screen shots ... make command,make some messages,make checkpoint etc etc


Re: How to make car system like this > - shabi rox - 19.06.2010

I make cmd,dailog,and createveh but i want that who buy car the car register to his .


Re: How to make car system like this > - shabi rox - 20.06.2010

plz i need this >>>>>>>>plz>>>>>>>>>>>>>>>>plz?>>>>>>>>>>>>>>>>> >


Re: How to make car system like this > - DJDhan - 20.06.2010

Add a new variable in the player enum.
Код:
enum PlayerData
{
 Vehicle
};
Then you must be having something like this:
Код:
new Info[MAX_PLAYERS][PlayerData];
Now when a player buys a vehicle, you can get the vehicle model and store it in Vehicle

Код:
Info[playerid][Vehicle]= GetVehicleModel(vehicleid);
Then when tey conenct again, give them the same vehicle.

You can save colors and last position too, this just an example.

There are other ways of doing it too.


Re: How to make car system like this > - ToPhrESH - 20.06.2010

im not sure bout this but couldnt you add an invisible area and say isPlayerInArea and then if then saying type /buy to buy car with gametext and creating menu?

Im just saying a rough outline.


Re: How to make car system like this > - shabi rox - 20.06.2010

I do /buycar but i want the car register to player who buy this car >?


Re: How to make car system like this > - BP13 - 21.06.2010

Try this:

http://forum.sa-mp.com/index.php?topic=44119.0


Re: How to make car system like this > - Iphone1234g - 07.06.2011

here no one make this fulll