08.11.2014, 00:28
Quote:
|
It depends on what you want the default values to be. Most variables are 0 by default, so when the first players connect there is no need to set those values to 0 in OnPlayerConnect. Of course, they still need resetting at some point - hence OnPlayerDisconnect.
On the other hand, if the variables shouldn't be 0 by default then you may need to set them in OnPlayerConnect, in which case there is an argument for doing them all there for consistency. |


