Mute Script
Hello Everyone! I'm back to post another horrible script and hope for future improvement; today I'm "showing off" a mute script I made awhile back. It's a system based upon client. flags because players are normally only muted for short periods of time.
Weapon -Staff/Mute: PHP Code:
PHP Code:
|
Tip: Check out the onRemotePlayerChats(playerobject) event ^^
|
Not a bad start, But why not do something like this?
PHP Code:
Then all you have to do is like /mute Bbo And if you're name was BboyEatsBacon it would select you. So for the clientside what I mean is do something like this. PHP Code:
|
Gunderak, use temporary variables if they're not used outside the function.
|
Would use
PHP Code:
|
What all does this mute?
Sword sounds? Microphone? Player chat above head? |
Quote:
I'll fix it up. |
Quote:
Quote:
|
This thread about 'muting' should help you too (particularly the use of ChatBar.onAction()):
http://forums.graalonline.com/forums...hp?t=134264038 It's also for muting a level with just a level npc. |
All times are GMT +2. The time now is 05:31 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.