Multiple Defines
#10

Try this, it should work:
pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    for(new c = 0; c < sizeof(StarsCars); c++)
    {
        if(vehicleid == StarsCar[c])
        {
            if(team[playerid] != 6)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
                break;
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Multiple Defines - by marinov - 14.11.2010, 16:07
Re: Multiple Defines - by blackwave - 14.11.2010, 16:10
Re: Multiple Defines - by marinov - 14.11.2010, 16:12
Re: Multiple Defines - by BloodyEric - 14.11.2010, 16:17
Re: Multiple Defines - by Larsey123IsMe - 14.11.2010, 16:18
Re: Multiple Defines - by Mike_Peterson - 14.11.2010, 16:18
Re: Multiple Defines - by rs.pect - 14.11.2010, 16:18
Re: Multiple Defines - by Mujib - 14.11.2010, 16:19
Re: Multiple Defines - by marinov - 14.11.2010, 16:26
Re: Multiple Defines - by Zimon95 - 14.11.2010, 16:34

Forum Jump:


Users browsing this thread: 3 Guest(s)