Originally posted by [b]kR105[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2545
Well I discovered this issue when I try to make a script with this funcion on it...
The documentation (script_commands.txt) says:
CODE
*getusers(<type>)
(...)
Type:
8 - This will count all characters on the same map as the current NPC.
(By default, it will count people on the same map as the character)
7 - Return the amount of players for the entire server.
(By default, only the players on the map will be counted.)
(...)
But when I try to use this function whith the Type 7, always return 0..
I looked the source and I see that the reals types are 0 and 1 respectively.
I must to use "getusers(1)" to get the player count of the entire server.
Well, sorry for the grammar errors, i'm still learning english...