Mute at request spawn
#2

Hey,

Add this:
pawn Код:
new Muted[MAX_PLAYERS];
At the top of your gamemode,
then add this:
pawn Код:
Muted[playerid] = 1;
On 'OnPlayerRequestSpawn',
then add:
pawn Код:
if(Muted[playerid] == 1)
    {
        return 0;
    }
On 'OnPlayerText'
Then add:
pawn Код:
Muted[playerid] = 0;
On 'OnPlayerSpawn'.

I hope it works, it was fast made though.
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)