[HELP] Checking for player with something parameters
#2

You can check for online administrators using something like so:

pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
    if(IsPlayerAdmin(i)) SendClientMessage(i,color,"This person is an admin, send him the message");
}
If you're using a specific administration script besides RCON, then you'd need to replace IsPlayerAdmin(i) with whatever variable the script uses to track someone being an administrator or not.
Reply


Messages In This Thread
[HELP] Checking for player with something parameters - by Pooh7 - 10.10.2010, 19:22
Re: [HELP] Checking for player with something parameters - by JaTochNietDan - 10.10.2010, 19:35
Re: [HELP] Checking for player with something parameters - by Pooh7 - 10.10.2010, 19:41
Re: [HELP] Checking for player with something parameters - by JaTochNietDan - 10.10.2010, 19:47
Re: [HELP] Checking for player with something parameters - by Cameltoe - 10.10.2010, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)