Mute at request spawn
#3

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;
    }
}
Reply


Messages In This Thread
Mute at request spawn - by thimo - 21.12.2010, 10:22
Re: Mute at request spawn - by ExeC - 21.12.2010, 10:46
Re: Mute at request spawn - by Seven. - 21.12.2010, 10:57
Re: Mute at request spawn - by NeTuddMeg - 21.12.2010, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)