SendAdminMessage
#3

Add this somewhere in your script, it doesn't really matter.

PHP код:
stock SendAdminMessage(colorstring[], level)
{
    foreach(
Playeri)
    {
        if(
PlayerInfo[i][pAdmin] >= level// change this to your admin variable
        
{
            
SendClientMessage(icolorstring);
        }
    }

Now you can use it anywhere you would like to:

PHP код:
SendAdminMessage(0x00FFFFFF"Hello!"1); 
"Hello!" will now show up for level 1 or higher admins.
Reply


Messages In This Thread
SendAdminMessage - by Simon007 - 25.11.2016, 13:42
Re: SendAdminMessage - by mongi - 25.11.2016, 20:00
Re: SendAdminMessage - by iamjems - 25.11.2016, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)