Mute command with time feature. - 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 command with time feature. (
/showthread.php?tid=477939)
Mute command with time feature. -
Lozzy - 27.11.2013
Hi, everyone.
I'm building my own TDM server.
But i need to add a time feature for my mute command.
Can you help me how to make one?
I can make mute command but no idea about time.
Oh and one more thing, it should show the player who is muted that this much time remaining for his/her un-mute.
Sorry for my bad English.
Re: Mute command with time feature. -
cessil - 27.11.2013
set a variable to indicate that they are muted and check when they try and send a message
returning 0 under OnPlayerText will prevent the message from displaying
use a textdraw if you want a constant display of how much time they have left and update either via a timer or opu