Thread
:
nVault Tutorial
View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
09-23-2016 , 03:48 Re: nVault Tutorial
#
76
Readability and maintainability. Just by sizing an array with MAX_PLAYERS + 1 (MAX_PLAYERS is 32, so +1 makes it 33), it gets self-documented, saying that array is intended for player data.
Always use named constants instead of "magic" numbers if possible, they make the code better.
klippy
View Public Profile
Send a private message to klippy
Find More Posts by klippy