Migrate to the bottom line - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Migrate to the bottom line (
/showthread.php?tid=426961)
Migrate to the bottom line -
Omirrow - 30.03.2013
"OnPlayerText" I want to spend part of the text is too long how can I do when it comes to the bottom line?
Re: Migrate to the bottom line -
Private200 - 30.03.2013
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.
Re: Migrate to the bottom line -
Omirrow - 30.03.2013
I'm trying, if successful, + rep
Re: Migrate to the bottom line -
Private200 - 30.03.2013
No need for rep+, just tell me if it works.
Re: Migrate to the bottom line -
Omirrow - 30.03.2013
Tried to make, but a few add-on "ProxDetector" I plan to include e.
Sorry bad english.
Re: Migrate to the bottom line -
Omirrow - 30.03.2013
"ProxDetector" I guess I made a few mistakes at the'm a private message.