Posts: 673
Threads: 169
Joined: Apr 2008
Reputation:
0
I know what he means,
What he means is on sa-mp,
If you say something in chat like ( This is just a short example imagine it a long sentence )
Hello, My name is Joe, I own GTASA and script pawno,
Imagine that being way longer, If it was..
SA-MP Would show it probably like this
Hello, My name is Joe, I own GTASA and script pa
And cut it off, He wants to make it, So it continues the text and dosent cut it off on another line
Posts: 641
Threads: 44
Joined: Feb 2009
Reputation:
0
He means SendPlayerMessageToAll...
Posts: 150
Threads: 13
Joined: Sep 2009
Reputation:
0
LOL what he means is....
if you write something on sa-mp, normally the text would come out like this
ex "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
he want's it to be like
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore....
....et dolore magna aliqua."
Posts: 900
Threads: 21
Joined: Jan 2007
Reputation:
0
The max lenght of a line in sa-mp is 128 characters. But you have to take into account the final three dots, the player's name and the parenthesis.
The simple way:
Set #define MAXLEN 97
Why?
128 - MAX_PLAYER_NAME (24) - 3 (for the starting double parenthesis and the space) - 4 (for the ending space and three dots) = 97
The harder way:
Do the same as above, but make MAXLEN dinamic depending on the real lenght of the player name.