Mute command with time feature.
#1

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.
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)