Really annoying and strange!
#3

Quote:
Originally Posted by Seven_of_Nine
Посмотреть сообщение
pawn Код:
if(text[0] == '#' && PlayerInfo[playerid][pAdminLevel] >= 1) {
        new
            poster[30];
        for(new i = 0; i < MAX_PLAYERS; ++i) {
            if(IsPlayerConnected(i) && !IsPlayerNPC(i) && PlayerInfo[i][pAdminLevel] >= 1) {
                new string[128];
                GetPlayerName(playerid,poster,sizeof(poster));
                format(string,sizeof(string),"[AdminChat] | %s: %s",poster,text[1]);
                SendClientMessage(i,yellow,string);
            }
        }
        return 0;
    }
I use this, works like a charm.
I don't see the prob in the code :\
Dude, don't come up with code, I know how to do a stupid admin chat using a symbol.
Like I said, the code looks PERFECT! That's why i asked for help since by even looking at it you would say, 100% works! But something else is in the middle...
Reply


Messages In This Thread
Really annoying and strange! - by Zh3r0 - 03.05.2011, 14:02
Re: Really annoying and strange! - by Seven_of_Nine - 03.05.2011, 14:07
Re: Really annoying and strange! - by Zh3r0 - 03.05.2011, 14:09
Re: Really annoying and strange! - by Seven_of_Nine - 03.05.2011, 14:12
Re: Really annoying and strange! - by Zh3r0 - 03.05.2011, 14:17
Re: Really annoying and strange! - by Ricop522 - 03.05.2011, 14:52
Re: Really annoying and strange! - by Seven_of_Nine - 03.05.2011, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)