no armor for other team
#2

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    switch(pickupid)
    {
        case ballasarmor:
        {
            if(gTeam[playerid] == TEAM_BALLAS) GivePlayerArmour(playerid,100);
            else SendClientMessage(playerid, COLOR_SAND, ":SERVER: This Armor belongs to Ballas Team !");
        }
    }
    return 1;
}
Also you might want to check if your gTeam's are assigned correctly.
Reply


Messages In This Thread
no armor for other team - by aqu - 22.02.2011, 18:43
Re: no armor for other team - by FreshKilla - 22.02.2011, 18:46
Re: no armor for other team - by maramizo - 22.02.2011, 18:49
Re: no armor for other team - by aqu - 22.02.2011, 18:50
Re: no armor for other team - by maramizo - 22.02.2011, 18:52
Re: no armor for other team - by aqu - 22.02.2011, 18:56
Re: no armor for other team - by maramizo - 22.02.2011, 19:00
Re: no armor for other team - by aqu - 22.02.2011, 19:00
Re: no armor for other team - by maramizo - 22.02.2011, 19:06
Re: no armor for other team - by aqu - 22.02.2011, 19:16

Forum Jump:


Users browsing this thread: 2 Guest(s)