no armor for other team
#3

pawn Код:
// On the top
new ballasarmor;

// On gamemodinit
ballasarmor = CreatePickup(1242, 3, 1926.0625, -1115.0798339844, 27.088310241699, -1);

// onplayerPickUpPickup

    if(pickupid == ballasarmor)
    if(gTeam[playerid] == TEAM_BALLAS)
    {
       GivePlayerArmour(playerid,100);
    }
    else if(gTeam[playerid] != TEAM_BALLAS)
    {
       SendClientMessage(playerid, COLOR_SAND, ":SERVER: This Armor belongs to Ballas Team !");
    }
Try this.
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: 1 Guest(s)