Reading cmd admin
#2

try changing the stock to
pawn Код:
stock SendMessageToAdmins(color,const msg[])
{
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
               if(IsPlayerConnected(i))
               {
                         if(PlayerInfo[i][pAdmin] > 0)
                         {
                                SendClientMessage(i,color,msg);
                                return 1;
                         }
                }
        }
        return 0;
}
Reply


Messages In This Thread
Reading cmd admin - by Andrew163 - 07.11.2012, 11:52
Re: Reading cmd admin - by [HK]Ryder[AN] - 07.11.2012, 12:06
Re: Reading cmd admin - by adithegman - 07.11.2012, 12:06
Re: Reading cmd admin - by [HK]Ryder[AN] - 07.11.2012, 12:08
Re: Reading cmd admin - by Andrew163 - 07.11.2012, 14:27
Re: Reading cmd admin - by slawii - 24.05.2014, 19:44
Re: Reading cmd admin - by GeekSiMo - 25.05.2014, 00:12

Forum Jump:


Users browsing this thread: 2 Guest(s)