20.07.2012, 22:26
Olha como que ta
pawn Код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '!')
{
if(PlayerInfo[playerid][pTorcida] == 1)
{
new VarTorcida[MAX_PLAYERS];
new Nome[24], String[128];
GetPlayerName(playerid, Nome, sizeof(Nome));
format(String, sizeof(String), "[Chat Gaviхes da Fiel] %s : %s", Nome, text[1]);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(VarTorcida[playerid] == Torcida[i])
{
SendClientMessage(i, -1, String);
return 0;
}
}
}
}
return 0;
}//Sгo 72 torcidas postei so esta para ter uma ideia

