get_playersnum exclude HLTV
Hi there,
Is there any way to exclude a hltv from being counted in the get_playersnum function or a similar function. Today i have a piece of coding looking kinda like this: Code:
public client_disconnect(id)My dilemma now is that it is ofcource counting the HLTV as a player and therefore it does not remove the task. I know i can change it to if (get_playersnum(1) <= 2) but then everything depends on the HLTV being connected which it might not be all the time. I'm very thankfull for your answers. Thx! |
Re: get_playersnum exclude HLTV
PHP Code:
|
Re: get_playersnum exclude HLTV
PHP Code:
|
Re: get_playersnum exclude HLTV
@Red:
PHP Code:
|
Re: get_playersnum exclude HLTV
Quote:
|
Re: get_playersnum exclude HLTV
|
| All times are GMT -4. The time now is 05:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.