SA-MP Forums Archive
Help please. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help please. (/showthread.php?tid=98766)



Help please. - Devine - 22.09.2009

I'm currently re-doing my SAN faction for a roleplay gamemode. I'm doing the commands /news but I realized that if someone is writing a long message on /news, it just cuts off. Is there anyway someone can make this so it doesn't cut off but goes into two lines? Thank you.

http://pastebin.com/m2f78c326


Re: Help please. - Devine - 22.09.2009

Anyone?


Re: Help please. - _Vortex - 22.09.2009

Quote:
Originally Posted by Devine
I'm currently re-doing my SAN faction for a roleplay gamemode. I'm doing the commands /news but I realized that if someone is writing a long message on /news, it just cuts off. Is there anyway someone can make this so it doesn't cut off but goes into two lines? Thank you.

http://pastebin.com/m2f78c326
You can make it send 2 diffrent clientmessages, but I'm not sure if it's possible to make his text go into 2 diffrent things.


Re: Help please. - Devine - 30.09.2009

Bumping this.. it's been awhile.


Re: Help please. - Hiitch - 30.09.2009

I understand what you mean, but just to be sure, can you make an example and imageshack it please?


Re: Help please. - Devine - 30.09.2009

Here;



Re: Help please. - ded - 30.09.2009

Increase the size of the string.

Or simply limit the length of the message being sent .. if it's too long let them know it's too long. Then they can send one part of the message .. then the next in a new message. That's how I'd do it.


Re: Help please. - Devine - 30.09.2009

Quote:
Originally Posted by » Pawnst★r «
Increase the size of the string.
All it says is;
pawn Код:
format(string, sizeof(string), "[SAN] %s: %s", sendername, result);
OOCNews(COLOR_SANGREEN,string);
How do I increase it?


Re: Help please. - ded - 30.09.2009

Well .. use the find function in PAWNO to find "string[" and see what it is. Or do like I said and limit the message being sent.