26.02.2013, 12:31
Hi, if I write something in chat, like /b on my server, it all get in one line. How do I make it so it continues on a new line?
Here is two screenshots to show what I mean.
This is how I want it. (The interior didnt load :X)

This is how it is right now.

this is my /b command.
Here is two screenshots to show what I mean.
This is how I want it. (The interior didnt load :X)

This is how it is right now.

pawn Код:
LEANCMD:(b)
{
if(isnull(params)) return SCM(playerid, COLOR_GREY,"/b [local ooc chat]");
new string[128];
if(AdminDuty[playerid] == 0)
{
format(string, sizeof(string), "(( [%i] %s: %s ))",playerid, GetName(playerid), params);
ProxDetector(20.0, playerid, string,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY);
format(string,sizeof(string),"[%d-%d-%d](( %s: %s ))",GetDay(),GetMonth(),GetYear(),GetName(playerid), params);
Log("/logs/Emotes.txt",string);
return 1;
}
if(AdminDuty[playerid] == 1)
{
format(string, sizeof(string), "(( [%i] {FF9900}%s{C3C3C3}: %s ))",playerid, GetName(playerid), params);
ProxDetector(20.0, playerid, string,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY);
format(string,sizeof(string),"[%d-%d-%d][ADMINDUTY] (( %s: %s ))",GetDay(),GetMonth(),GetYear(),GetName(playerid), params);
Log("/logs/Emotes.txt",string);
return 1;
}
return 1;
}