15.10.2013, 16:40
Hey, when I type something very long it gets cut-off. I need help with the string splitting into two lines so the text doesn't get cut-off.
pawn Код:
CMD:b(playerid, params[])
{
new
string[128],
action[128];
if(sscanf(params, "s[100]", action))
{
SendClientMessage(playerid, COLOR_GREY, "[Usage]: /b [text]");
return 1;
}
else
{
format(string, sizeof(string), "(( %s: %s ))", GetName(playerid), action);
ProxDetector(20, playerid, string, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
}
return 1;
}