04.02.2012, 16:22
pawn Код:
public OnPlayerText(playerid, text[])
{
new textv2[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
format(textv2, sizeof (textv2), "(id: %d) %s", playerid, text);
SendPlayerMessageToAll(playerid, textv2);
if(pInfo[playerid][Muted] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You are muted, you can not talk!");
}
return 0;
}
If you are muted you can still talk, maybe someone can help me?