29.03.2010, 13:11
Ok, so with this he wont be able to see the text what other wrote (if Invisable isnt 0)
But he still can write in the chatbox and other will see it (even he self doesnt)
pawn Код:
public OnPlayerText(playerid, text[])
{
for(new i; i < MAX_PLAYERS; i++)
{
if(GetPVarInt(i, "Invisible") == 0)
SendPlayerMessageToPlayer(i, playerid, text);
}
return 0;
}