Quote:
Originally Posted by scriptless
So it's just for a person reading it to look easier? why not //player after it? Just curious is there any advantages?
|
'level' on it's own could refer to this.level (NPC) or player.level depending on where the code is.
You can eliminate that possible confusion by using the appropriate prefix in your code.
Also comments are supposed to help people understand what's going on in your code not help add confusion with an obscure looking comment.
The only time I don't use the player prefix is with client and clientr flags.