04.05.2010, 19:52
pawn Код:
public OnPlayerText(playerid, text[])
{
if(playerInSilent[playerid] == 1)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(playerInSilent[i] == 1)
{
SendPlayerMessageToPlayer(i, playerid, text);
return 0;
}
}
}
return 1;
}
Because sometimes i cant speak, Sometimes others cant speak, Sometimes others cant see me speak, And sometimes i cant see them speak,
How would i do this? To send a message to all people who are silent IF im silent