20.06.2009, 17:39
Maybe you can think in this way:
When you mute a player, make a new variable, that is true, to check if a player is muted and start a timer. Then call OnPlayerText and make an if loop that checks if your variable is true. Then give in that if loop a "return 1;" so that every text will be ignored. Then place in your public, you made also when you started the timer, to set your variable to false.
I hope this helps you.
Sorry for my English, but I am Dutch.
When you mute a player, make a new variable, that is true, to check if a player is muted and start a timer. Then call OnPlayerText and make an if loop that checks if your variable is true. Then give in that if loop a "return 1;" so that every text will be ignored. Then place in your public, you made also when you started the timer, to set your variable to false.
I hope this helps you.
Sorry for my English, but I am Dutch.