Giving the whole team something...
#2

pawn Код:
foreach(Player, i)
{
 if(GetPlayerTeam(i) == TEAM_YOU_WANT) GivePlayerMoney(i, 5000);
}
or if you are using gTeam then it's

pawn Код:
foreach(Player, i)
{
 if(gTeam[i] == TEAM_YOU_WANT) GivePlayerMoney(i, 5000);
}
Reply


Messages In This Thread
Giving the whole team something... - by cloudysky - 12.07.2011, 21:05
Re: Giving the whole team something... - by Cypress - 12.07.2011, 21:08
Re: Giving the whole team something... - by cloudysky - 12.07.2011, 21:16
Re: Giving the whole team something... - by jameskmonger - 12.07.2011, 21:21
Re: Giving the whole team something... - by Roko_foko - 12.07.2011, 21:23
Re: Giving the whole team something... - by SchurmanCQC - 12.07.2011, 21:25
Re: Giving the whole team something... - by Cypress - 12.07.2011, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)