I'm need a help in command admins.
#1

pawn Code:
CMD:admins( playerid, params[ ] )
{
SCM(playerid,-1,"Admins:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
        if( IsPlayerConnected( i ) && ( GetPVarInt( i , "Level" ) > 1) )
        {
        new adminslist[128];
        format(adminslist,sizeof(adminslist),"Admins Online %s [id:%d]",pName( playerid ),playerid);
        SendClientMessage(playerid,-1,adminslist);
        }
    }
return 1;}
If I'm an admin writes my name twice in "/admins" and also my friend admin and I see just me in admins.
Check the command please
Reply


Messages In This Thread
I'm need a help in command admins. - by Userpwon - 15.09.2012, 14:25
Re: I'm need a help in command admins. - by MagicClucker - 15.09.2012, 14:26
Re: I'm need a help in command admins. - by Sig Hansen - 15.09.2012, 14:27
Re: I'm need a help in command admins. - by Userpwon - 15.09.2012, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)