help on get_playersnum
I want to activate some code on an amount of players only that comand is get_playersnum
can someone give me an example on wich bots are included? ****get_playersnum***** if((get_playersnum() == 10) || (get_playersnum() + bots == 10)) {} else return plugin_handled PS-need also the function that counts rounds Just realized that this should have been in script help please move it. |
Re: help on get_playersnum
Hey guys some help here please!
|
Re: help on get_playersnum
Use get_players() native. Read amxmodx\scripting\include\amxmodx.inc or function reference for details.
|
Re: help on get_playersnum
Not sure that it's a good way.
Code:
http://www.amxmodx.org/funcwiki.php?go=func&id=174 EDIT: Arg. Ven is fast. -_- |
Re: help on get_playersnum
Don't bump your threads again under punishment of something.
|
Re: help on get_playersnum
sorry but if I would've not done it I would've not got an answer.
Thanks guys. |
Re: help on get_playersnum
You have to build it yourself using http://forums.alliedmods.net/showthread.php?t=42159 or http://wiki.amxmodx.org/index.php/Ha...ents#TeamScore
|
| All times are GMT -4. The time now is 06:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.