SA-MP Forums Archive
Help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me (/showthread.php?tid=454268)



Help me - Muhammad1 - 28.07.2013

How to add Rcon administrator in /admins when I am in Rcon mode


Re: Help me - MellowHammer - 28.07.2013

pawn Код:
SendClientMessage(playerid, COLOR_GOES_HERE, "Admins Online:");
new name[MAX_PLAYER_NAME];
for(new i = 0; i < MAX_PLAYERS; i++)
{
   if(IsPlayerConnected(i) && IsPlayerAdmin(i))
   {
       GetPlayerName(i, name, sizeof name)
       SendClientMessage(playerid, COLOR_GOES_HERE, name);
   }
}



Re: Help me - Muhammad1 - 28.07.2013

Thanks you really helped me !!