I always wonder what affect to this "information" and why it show on compile?
#8

Quote:
Originally Posted by Tommy_Diaz
Посмотреть сообщение
I dont know will they show "debug-info" which indicates too many strings? Or it just shown when i use big string when unnecessary?
I'm not 100% certain for the answer to that question. Honestly, as you continue writing your mode, try to take time and figure out exactly how many cells you need per string. You can use a program like Microsoft Office Word to check how many characters are in the string. So, if you have 313 characters in the string, add 1 (for the null terminator), and you only need to have a 314-cell string.

When you use format() to handle things like %s (for a player name), account for %s becoming 25 characters at one point because 25 is the max player name size.

Hopefully that makes sense.

For additional information on choosing good string sizes, review this topic: https://sampforum.blast.hk/showthread.php?tid=55261
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)