* This function parse all map-serv attached to this char-serv and increase user count
* @return numbers of total users
*/
int char_count_users(void)
{
int i, users;
users = 0;
for(i = 0; i < ARRAYLENGTH(map_server); i++) {
if (map_server[i].fd > 0) {
users += map_server[i].users;
}
}
return users;
}
How to edit these please? its not working on my end.
how to apply these please to increase in /w just a little bit
Question
fireicesurfer
* This function parse all map-serv attached to this char-serv and increase user count * @return numbers of total users */ int char_count_users(void) { int i, users; users = 0; for(i = 0; i < ARRAYLENGTH(map_server); i++) { if (map_server[i].fd > 0) { users += map_server[i].users; } } return users; }
How to edit these please? its not working on my end.
how to apply these please to increase in /w just a little bit
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.