21.12.2010, 10:57
pawn Код:
new pMuted[MAX_PLAYERS] = 0;
public OnPlayerRequestSpawn(playerid)
{
pMuted[playerid] = 1;
return true;
}
public OnPlayerSpawn(playerid)
{
pMuted[playerid] = 0;
return true;
}
public OnPlayerText(playerid,text[])
{
if(pMuted[playerid] == 1) return 0;
}
}