Posts: 108
Threads: 21
Joined: Aug 2016
Quote:
Originally Posted by KeithCooper
Do you really think that this code
PHP код:
stock adminchat(color, const msg[])
{
foreach(Player, i)
{
if (playerData[i][playerLevel] >= 1)
{
SendClientMessage(i, color, msg);
}
}
}
creates an admin chat?What is wrong with you?I simply stated that he provided a stock (that without the onplayertext, is useless).Fix your attitude buddy.
|
But he doesn't need OnPlayerText. i've an admin chat it works fine i didn't use onplayertext for it i just simple use a command /adminchat [Message],So that's why i said he doesn't need OnPlayerText,In my opinion using OnplayerText for an admin chat would be something like (@ then a message) or (! then a message)