Car unlocked only for 1 player
#1

Hey guys!

Currently I'm testing a bit VehicleParams... so what I'm trying to do is that, the specific vehicle unlocked for 1 player who is for example on some kind of mission. So here is example what i've made.

Код:
for(new i=0; i < MAX_PLAYERS; i++)
   		{
            if(i == playerid && on‌mission == 1) continue;
            SetVehicleParamsForPlayer(car_dealer_car[0],i,1,0);
        }
Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if(vehicleid == car_dealer_car[0])
    {
        SetVehicleParamsForPlayer(car_dealer_car[0], forplayerid, 1, 0);
    }
    return 1;
}
But vehicle is locked for me, how can I make it will be only unlocked for me?
Reply


Messages In This Thread
Car unlocked only for 1 player - by Lajko1 - 29.04.2016, 19:55
Re: Car unlocked only for 1 player - by Lordzy - 29.04.2016, 20:00
Re: Car unlocked only for 1 player - by slipnkit - 29.04.2016, 20:02
Re: Car unlocked only for 1 player - by Lajko1 - 29.04.2016, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)