problem.
#1

if(PlayerInfo[playerid][AdminLevel] >= 1)
{
new str[128];
format(str, sizeof(str), "%s: {89cff0}%s", GetName(playerid), text[1]);
}
This code wont work to give admins a special colour on their chat 'text'. Can someone tell what went wrong?
Reply
#2

You never send it..

Also you should learn to indent.

Also 144 is the max string in chat, not 128.

Returning 0 under OnPlayerText will stop the original message from being sent.
Reply
#3

Thanks will get back to you on this.
N.O.T :Also, why are my threads getting deleted? -_-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)