Definition of SendAdminMessage
#6

pawn Код:
stock SendAdminMessage(color, string[]) {
    for(new i = 0; i < MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i) && IsPlayerAdmin(i)) {
            SendClientMessage(i, color, string);
        }
    }
}
May not be the best example, but you get the idea, similar to above.
Reply


Messages In This Thread
Definition of SendAdminMessage - by RyderX - 01.12.2016, 16:02
Re: Definition of SendAdminMessage - by Hunud - 01.12.2016, 16:04
Re: Definition of SendAdminMessage - by NeXoR - 01.12.2016, 16:05
Re: Definition of SendAdminMessage - by RyderX - 01.12.2016, 16:07
Re: Definition of SendAdminMessage - by NeXoR - 01.12.2016, 16:16
Re: Definition of SendAdminMessage - by Isolated - 01.12.2016, 16:25
Re: Definition of SendAdminMessage - by RyderX - 01.12.2016, 16:32
Re: Definition of SendAdminMessage - by MattMaximum - 08.12.2016, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)