Migrate to the bottom line
#1

"OnPlayerText" I want to spend part of the text is too long how can I do when it comes to the bottom line?
Reply
#2

pawn Код:
forward SendClientMessages(playerid,color,text[]);

public SendClientMessages(playerid,color,text[])
{
    if(strlen(text) <= 68) SendClientMessage(playerid,color,text);
    else {
        new texts[61];
        strmid(texts,text,68,129);
        strins(text, "-", 68, 1);
        strdel(text, 69, 129);
        SendClientMessage(playerid,color,text);
        SendClientMessage(playerid,color,texts);
    }
}
Haven't tested it, try it.
Reply
#3

I'm trying, if successful, + rep
Reply
#4

No need for rep+, just tell me if it works.
Reply
#5

Tried to make, but a few add-on "ProxDetector" I plan to include e.

Sorry bad english.
Reply
#6

"ProxDetector" I guess I made a few mistakes at the'm a private message.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)