AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to get number of players and maxplayers limit? (https://forums.alliedmods.net/showthread.php?t=56582)

AnHiMiLaToR 06-16-2007 15:04

How to get number of players and maxplayers limit?
 
How to get number of players and maxplayers limit?
Help.:)

Deviance 06-16-2007 15:05

Re: How to get number of players and maxplayers limit?
 
1. get_playersnum()
2. get_maxplayers()

AnHiMiLaToR 06-16-2007 15:09

Re: How to get number of players and maxplayers limit?
 
Thanks a lot.

Now: how to get the value of a cvar? I'm trying by the method in amxmodx.inc but it isn't workin' :(

Lee 06-16-2007 15:29

Re: How to get number of players and maxplayers limit?
 
http://www.amxmodx.org/funcwiki.php?...cvar&go=search

AnHiMiLaToR 06-16-2007 15:31

Re: How to get number of players and maxplayers limit?
 
tnx, i'm lazy and sleepy

Alka 06-16-2007 15:34

Re: How to get number of players and maxplayers limit?
 
I give you an advice: Use "pcvar-s" :wink:

AnHiMiLaToR 06-16-2007 15:37

Re: How to get number of players and maxplayers limit?
 
What's the difference (i'm a young coder ^^)

Arkshine 06-16-2007 15:39

Re: How to get number of players and maxplayers limit?
 
http://wiki.amxmodx.org/Optimizing_Plugins


All times are GMT -4. The time now is 10:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.