Break lines
#1

how to break lines?
public OnPlayerText(playerid, text[])
{
if (realchat)
{
new sendername[128],string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s says: %s",sendername, text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5);
return 0;
}
return 0;
}
in text?
Reply
#2

I'm not sure what you mean by break lines, but line breaks in strings are dependant on the use of the string - eg. in a game text / text draw, dialog, sendclientmessage etc.
Reply
#3

No when i return 1 it break lines(text) but it show anywhere that chat
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)