Globalstring
#1

Is it ok to add new globalstring[512]; on start of command where i have to use it or is there any other way to define it through whole script without adding new for every command?
Reply
#2

Adding it within brackets will make it private within those brackets. If you make it outside of any brackets toward the top of your script it should work anywhere.

Go for 128 rather than 512 though if you're using it for player messages.
Reply
#3

that's a bad practice...
Reply
#4

Quote:
Originally Posted by SyS
Посмотреть сообщение
that's a bad practice...
Correct, I should've been clear about that, but he's probably gonna do it either way.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)