Some script help
#5

For your admin message

pawn Code:
forward AdminMessage(color,const string[]);
public AdminMessage(color,const string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i)) continue;
        if(IsAdmin(i))
        {
            SendClientMessage(i, color, string);
        }
    }
    return 1;
}
make sure you edit the IsAdmin(playerid) to the way you detect your admins.
Reply


Messages In This Thread
Some script help - by Markx - 06.04.2011, 08:05
Re: Some script help - by [DJ]Boki - 06.04.2011, 08:07
Re: Some script help - by Markx - 06.04.2011, 08:08
Re: Some script help - by -Rebel Son- - 06.04.2011, 08:09
Re: Some script help - by Haydz - 06.04.2011, 08:09
Re: Some script help - by [DJ]Boki - 06.04.2011, 08:10
Re: Some script help - by Markx - 06.04.2011, 08:14
Re: Some script help - by -Rebel Son- - 06.04.2011, 08:15
Re: Some script help - by [DJ]Boki - 06.04.2011, 08:15
Re: Some script help - by gamer931215 - 06.04.2011, 08:17
Re: Some script help - by -Rebel Son- - 06.04.2011, 08:17
Re: Some script help - by [DJ]Boki - 06.04.2011, 08:17
Re: Some script help - by Markx - 06.04.2011, 08:19
Re: Some script help - by -Rebel Son- - 06.04.2011, 08:19
Re: Some script help - by Markx - 06.04.2011, 08:22
Re: Some script help - by [DJ]Boki - 06.04.2011, 08:23
Re: Some script help - by Markx - 06.04.2011, 09:03
Re: Some script help - by [DJ]Boki - 06.04.2011, 09:07
Re: Some script help - by Markx - 06.04.2011, 09:20
Re: Some script help - by [DJ]Boki - 06.04.2011, 09:29
Re: Some script help - by Markx - 06.04.2011, 10:27
Re: Some script help - by [DJ]Boki - 06.04.2011, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)