Vlock.
#6

Errrm this won't work
Код:
new Car[Team];
It needs to be able to hold all the vehicles so it have different values for each individual vehicle
Код:
new Car[MAX_VEHICLES];
now to set it to a team do
Код:
Car[ vehicleid ] = TEAM_COP; // or what ever you have defined for that team
then in OnVehicleStreamIn you could do this:
Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if(Car[ vehicleid ] == TEAM_COP && gTeam[playerid] != TEAM_COP)
    {
        SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
    }
}
Hopefully you understand this?
Reply


Messages In This Thread
Vlock. - by CannonBolt - 01.10.2016, 20:59
Re: Vlock. - by Konstantinos - 01.10.2016, 21:01
Re: Vlock. - by CannonBolt - 01.10.2016, 21:09
Re: Vlock. - by Chump - 02.10.2016, 11:21
Re: Vlock. - by CannonBolt - 09.10.2016, 16:54
Re: Vlock. - by azzerking - 09.10.2016, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)