20.06.2010, 11:06
Add a new variable in the player enum.
Then you must be having something like this:
Now when a player buys a vehicle, you can get the vehicle model and store it in Vehicle
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.
Код:
enum PlayerData { Vehicle };
Код:
new Info[MAX_PLAYERS][PlayerData];
Код:
Info[playerid][Vehicle]= GetVehicleModel(vehicleid);
You can save colors and last position too, this just an example.
There are other ways of doing it too.