How to make car system like this >
#5

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.
Reply


Messages In This Thread
How to make car system like this > - by shabi rox - 19.06.2010, 07:34
Re: How to make car system like this > - by Lajko1 - 19.06.2010, 07:58
Re: How to make car system like this > - by shabi rox - 19.06.2010, 09:14
Re: How to make car system like this > - by shabi rox - 20.06.2010, 11:00
Re: How to make car system like this > - by DJDhan - 20.06.2010, 11:06
Re: How to make car system like this > - by ToPhrESH - 20.06.2010, 11:18
Re: How to make car system like this > - by shabi rox - 20.06.2010, 14:56
Re: How to make car system like this > - by BP13 - 21.06.2010, 02:53
Re: How to make car system like this > - by Iphone1234g - 07.06.2011, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)