Quote:
Originally Posted by ******
That's a VERY bad idea. You could do:
pawn Код:
#define STR new string[128];
Then you can use "STR" instead of "new string[128];" but that's not very clear in code what you're doing. And frankly the time it took you to make this topic is probably longer than you will EVER spend typing that tiny bit of code.
|
Were you referring to my post on creating a global variable? If so, could you explain how so? Like I said, if it would be suitable for the variable. For example, if you only needed it to format messages you send to the players and you never need to access the data at any other point, I don't see a problem with doing such.