Custom chat
#10

Quote:
Originally Posted by new121
Посмотреть сообщение
Try this, I wrote that in the browser so let me know if you get any errors.
pawn Код:
public OnPlayerText(playerid, text[])
{
      new str[256], name[24], Float: color;
      GetPlayerName(playerid, name, sizeof(name));
      color = GetPlayerColor(playerid);
      format(string, sizeof(string), " "%f" %s~w~[%d]:%s", color, name, playerid, text);
      SendClientMessageToAll(0xFFFFFFAA, string);
      return 0;
}
Funny thing is , I don't even have OnPlayerText in my script yet my chat does this on its own, so if ^ that don't work try deleting the whole call back and see what happens when you go in game and talk
Well my compliments if this will ever work.
Reply


Messages In This Thread
Custom chat - by Karl[NDZ] - 19.03.2012, 15:30
Re: Custom chat - by Richie© - 19.03.2012, 15:34
Re: Custom chat - by Roel - 19.03.2012, 15:34
Re: Custom chat - by Littlehelper - 19.03.2012, 15:35
Re: Custom chat - by Karl[NDZ] - 19.03.2012, 15:49
Re: Custom chat - by Roel - 19.03.2012, 15:55
Re: Custom chat - by Karl[NDZ] - 19.03.2012, 15:58
Re: Custom chat - by Roel - 19.03.2012, 16:05
Re: Custom chat - by new121 - 19.03.2012, 16:13
Re: Custom chat - by Roel - 19.03.2012, 16:24

Forum Jump:


Users browsing this thread: 2 Guest(s)