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...