02.09.2009, 21:58
pawn Код:
if(strlen(message) <= 51)
{
format(string,sizeof(string),"~g~Update: ~w~%s", message);
}
else
{
// Do splitting crap.
format(string,sizeof(string),"~g~Update: ~w~%s~n~%s", message[firstline], message[secondline]);
}
So like, "The blue cat went around the world in his blue tr~n~"
"uck", i want it to start at the beginning of a new word so its like:
"The blue cat went around the world~n~"
"in his blue truck"
If you know what i mean, i've searched but found no result and i don't have the faintest idea how to do this.
Anyone, i would be so greatful.