Vehicle help
#1

so I'm working on car ownership system and I have made it so player can own one car and when he disconnect it saves his car like the following:
PHP код:
if (pvehicle[playerid][0] != 0)
    {
        
pvehicle[playerid][0] = 0;
        } 
but this saves one car but what if he have more than one car how can I make it save anycar he own not one car like pvehicle[playerid][I]
i just need to know how to make it be pvehicle[playerid][i] which [i] is infinit and i can finish my self
PHP код:
new pvehicle[PLAYERS][3]; 
players is max_players.
Reply


Messages In This Thread
Vehicle help - by silverms - 13.04.2017, 14:18
Re: Vehicle help - by renatog - 13.04.2017, 14:23
Re: Vehicle help - by XpDeviL - 13.04.2017, 14:25
Re: Vehicle help - by silverms - 13.04.2017, 14:26

Forum Jump:


Users browsing this thread: 2 Guest(s)