[FilterScript] Dennis12's Attachments Object Editor
#6

Quote:
Originally Posted by RogueDrifter
View Post
Also for best practice its always better to use sizeof(string) instead of the actual size of the string for compatibility issues in case if the size of that string actually changes one time so you wouldn\'t get \'Array index out of bounds\' messages.
PHP Code:
format(string64"You are now editing attached object in the slot %d."listitem); 
This won\'t give an "Array index out of bounds" message but it will do a buffer overflow if the size of string-variable is less than the characters.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)