Using single global variable for formatting text
#9

Quote:
Originally Posted by Paulice
Посмотреть сообщение
Declare it as:
PHP код:
new pStrings[MAX_PLAYERS][MAX_STRINGS_PER_PLAYER][MAX_STRING_LENGTH]; 
This pains my eyes. Avoid globals where you can. "The size of the amx" is an irrelevant argument. Should be a couple megabytes tops; the size of an average picture or song.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)