SAMP 0.3D TextDraw Limit (Text Limit)
#1

https://sampwiki.blast.hk/wiki/Limits says the limit is 1024

But the game crashes when i use a string of size 1024, any help?

Thanks, Grim
Reply
#2

There is really no need to have a string of that size. Ive never gone over 256, and i rarely use 256, i mostly use 128. Unless its going to be a string of small value, such as a faction name or something.
Reply
#3

I used a string of 700, no crash

Im doing a race laeaderboar you see, 10 racers (50 characters a line) so a big number is needed.

Thanks anyway
Reply
#4

Quote:
Originally Posted by Grimrandomer
View Post
I used a string of 700, no crash

Im doing a race laeaderboar you see, 10 racers (50 characters a line) so a big number is needed.

Thanks anyway
Well, do the math. 10 racers, 50 chars a line, use 501 as string size.
* The reason i said 501, is because everytime i use an exact string size, say i am created a string with 5 characters, and i set the string size to 5, only the first 4 characters show up in the string, so i always set it +1 higher.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)