SA-MP Forums Archive
Mute - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mute (/showthread.php?tid=368589)



Mute - Akcent_Voltaj - 13.08.2012

i give mute to somebody and look

Ex:

PHP код:
"You have mute"cannot talk.
my messagehi.. 
i hope you understand what i mean..

i put it like this

PHP код:
if(PlayerInfo[playerid][pMuted] == 1)
                    {
                    
SendClientMessage(playeridCOLOR_RED"Ai mute nu poti vorbi!");
                    return 
1;
                    } 



Re: Mute - FalconX - 13.08.2012

Put this in OnPlayerText

pawn Код:
if(PlayerInfo[playerid][pMuted] == 1)
{
                    SendClientMessage(playerid, COLOR_RED, "Ai mute nu poti vorbi!");
                    return 0; // it should be 0
}



Re: Mute - Djole1337 - 13.08.2012

Quote:
Originally Posted by Akcent_Voltaj
Посмотреть сообщение
i hope you understand what i mean..
[/PHP]
Nope ...