Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Admin before name
#11
I can't see if something is a teamchat message or not. So if an admin would use teamchat (or any other player with a prefix) it would show up in everyone's chat (not just in 1 of the teams).
[Image: MaEIQ.png]
Reply

#12
Ah, I see.. Thats a pity as I think it is quiet a nice touch.
Thanks for trying that one m8 Smile
Reply

#13
PHP Code:
public void CheckMessage(string messageServerClient Client)
        {
            
string newmessage "[ADMIN] ";
            
newmessage newmessage message;
            foreach (
ServerClient sc in GetClients())
            {
                if(
sc.ClientNum != Client.ClientNum &&  isAdmin(Client.XUID))
                    
TellClient(sc.ClientNumnewmessagetrue);
            }
        } 

PHP Code:
private bool isAdmin(string xuid)
        {
            return (
GetServerCFG("Admin"xuid"") == "1");
        } 
Dont know if it works, couldn't try.
Reply

#14
(02-12-2012, 20:59)masterbob Wrote:
PHP Code:
public void CheckMessage(string messageServerClient Client)
        {
            
string newmessage "[ADMIN] ";
            
newmessage newmessage message;
            foreach (
ServerClient sc in GetClients())
            {
                if(
sc.ClientNum != Client.ClientNum &&  isAdmin(Client.XUID))
                    
TellClient(sc.ClientNumnewmessagetrue);
            }
        } 

PHP Code:
private bool isAdmin(string xuid)
        {
            return (
GetServerCFG("Admin"xuid"") == "1");
        } 
Dont know if it works, couldn't try.

As I said, this will make teamchat useless..

[Image: MaEIQ.png]
Reply

#15
Is it possible to have Admins / Mods overide the DeadChat ?

On our servers DeadChat is set to Team Only. It would be very handy if Admins / Mods were able to speak to 'All' in the server, overiding the team only deadchat.

Reply

#16
(02-13-2012, 14:38)KrisiS Wrote: Is it possible to have Admins / Mods overide the DeadChat ?

On our servers DeadChat is set to Team Only. It would be very handy if Admins / Mods were able to speak to 'All' in the server, overiding the team only deadchat.

Doesn't the admin plugin have a !say option?
[Image: MaEIQ.png]
Reply

#17
Yeah, I guess that could be used :/ never thought of it xD
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Admin menu koren30 4 5,118 10-07-2013, 20:17
Last Post: Yamato
Heart [Tutorial] Add yourself as admin for noobs like me. FNCPro 1 2,991 09-02-2013, 19:49
Last Post: Pozzuh
  God Mode Plugin - Everyone has rcon admin srskiller 4 6,094 08-28-2013, 19:03
Last Post: phillipito
  Help How do I open the admin menu for GeKKos QS Mod? conorr 1 3,085 08-15-2013, 13:52
Last Post: Yamato
Question Help Some Server Admin Questions! mn_acer1 2 3,346 08-03-2013, 04:11
Last Post: mn_acer1
  [Request] Need a plugin that hides all ! Admin commands sylvester123 7 5,259 07-27-2013, 13:21
Last Post: Bandarigoda123
Lightbulb Server admin where are you?? Moder.gr 14 10,669 07-23-2013, 08:04
Last Post: sylvester123
  Help MW3 Admin Rcon login PW guru 6 9,913 07-14-2013, 21:18
Last Post: guru
  Admin Server Tool for Modern Warfare 3 for Teknogods??? odok 5 13,525 06-22-2013, 11:02
Last Post: surtek
  Preview Admin / Mod Menu Hologramm 5 6,943 05-29-2013, 00:35
Last Post: sleepunknot

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.