[HELP] Wrapped ClientMessages - 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] Wrapped ClientMessages (
/showthread.php?tid=144349)
[HELP] Wrapped ClientMessages -
DX7 - 26.04.2010
Hello SA-MP
I'm getting fairly into scripting a lot but i've recently noticed that if I send a long clientmessage in the chat, it cuts off half-way. (I'm using a Godfather script and trying to use
THIS)
I've got no idea how to actually implement it, however. I was hoping somebody could help me with this.
Thanks,
DX7
(Please note i'm only using Godfather to PRACTISE. Don't flame me with stupid posts like "OMFG WHY YOU USE GODFATHER YOU N00B"
Re: [HELP] Wrapped ClientMessages -
DX7 - 27.04.2010
Does anybody know how to do this?
Re: [HELP] Wrapped ClientMessages -
Naxix - 27.04.2010
Might be because it's too long? samp has a max length of 128 characters in the chatbox
Re: [HELP] Wrapped ClientMessages -
DX7 - 27.04.2010
Indeed. What i'm trying to achieve is making a long ClientMessage wrap to TWO lines instead of just cutting off. For example:
"[Advertisement] Selling a brand new Huntley for $100,000. It has the highest security and two i"
when I want it to say
"[Advertisement] Selling a brand new Huntley for $100,000. It has the highest security and two i..."
"[Advertisement] ... nsurance deals. Contact: 6969"
As I gave in my first post,
THIS function apparently does that, however I have no idea how to use it. I tried replacing SendClientMessage in Prox Detector and it did two things: First time I tried it it made two lines but the second line was still too short
Second time I tried it spammed the message hundreds of times on the chat