Vehicle problems
#3

pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if(vehicleid == xxx)//cop vehicle ids here
    {
        if(GetPlayerSkin(forplayerid) != xxx)//copskin ids here
        {
            SetVehicleParamsForPlayer(vehicleid,forplayerid,1,1);
        }
        else
        {
            SetVehicleParamsForPlayer(vehicleid,forplayerid,1,0);
        }
    }
    return 1;
}
Could use GetPlayerTeam instead of checking player skins.
Reply


Messages In This Thread
Vehicle problems - by Scones - 03.08.2010, 04:10
Re: Vehicle problems - by Scones - 03.08.2010, 10:46
Re: Vehicle problems - by iggy1 - 03.08.2010, 10:54
Re: Vehicle problems - by Scones - 03.08.2010, 10:57
Re: Vehicle problems - by Scones - 03.08.2010, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)