29.04.2011, 19:04
hm its beause in the pID loop , is getting a players name like /getid <name>
ok and can you show me how to make that seat iterator?
EDIT:
will this work aswell?
EDIT: some loops doesnt work with foreach, ill leave foreach for now.. thanks anyways
ok and can you show me how to make that seat iterator?
EDIT:
pawn Код:
stock SendClientMessageToTeam(team, color, text[]) //By Alex "******" Cole
{
foreach (Player, i)
{
if (gTeam[i] == team) SendClientMessage(i, color, text);
}
}
EDIT: some loops doesnt work with foreach, ill leave foreach for now.. thanks anyways