Admin Chat problem
#2

PHP код:

if(AccInfo[playerid][Admin] >= 1)
                {
                     if(
text[0] == '!')
                     {
                          new 
string[128];
                          
GetPlayerName(playeridstringsizeof(string));
                          
format(stringsizeof(string), "[Admin Chat]: %s: %s"stringtext[1]);
                          foreach(
Playeri) if(AccInfo[i][Admin] >= 1SendClientMessage(i,red,string);
 
                     }
                }
                else
                {
                return 
0;
                } 
Reply


Messages In This Thread
Admin Chat problem - by ea7gign - 13.07.2015, 15:22
Re: Admin Chat problem - by MBilal - 13.07.2015, 15:28
Re: Admin Chat problem - by ea7gign - 13.07.2015, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)