Help me shop buy/sell/delete vehicle
#6

Okay so you probably have something like

Код:
enum pInfo
{
Money,
Level,
//Etc...
//Add this
pVehicle;
}

enum vinfo
{
vPosX,
vPosY,
vPosY,
vAngle,
vColor,
vModel
//etc....
}
and when you create the car Do something like GetPlayerPos(playerid, vPosx,vPosY,vPosZ);
That will save the position
Then save the model in vModel
Then you can save the vehicle into the player's file.And each time they login load the car.
Reply


Messages In This Thread
Help me shop buy/sell/delete vehicle - by SFRPVN - 09.03.2014, 13:34
Re: Help me shop buy/sell/delete vehicle - by RenovanZ - 09.03.2014, 13:38
Re: Help me shop buy/sell/delete vehicle - by SFRPVN - 09.03.2014, 13:45
Re : Help me shop buy/sell/delete vehicle - by mirou123 - 09.03.2014, 13:50
Re: Re : Help me shop buy/sell/delete vehicle - by SFRPVN - 09.03.2014, 13:55
Re : Help me shop buy/sell/delete vehicle - by mirou123 - 09.03.2014, 14:09
Re: Help me shop buy/sell/delete vehicle - by SFRPVN - 09.03.2014, 14:18
Re : Help me shop buy/sell/delete vehicle - by mirou123 - 09.03.2014, 15:11

Forum Jump:


Users browsing this thread: 2 Guest(s)