AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Define players... (https://forums.alliedmods.net/showthread.php?t=24953)

Davidos 03-05-2006 08:25

Define players...
 
How do you make AMXX read the player numbers over and over.

For example, when the players are in at a total of 12 players, the server automatically sets a password.

VEN 03-05-2006 08:51

Code:
#include <amxmodx> public client_putinserver() {     check_that() } public client_disconnect() {     check_that() } check_that() {     if (get_playersnum() == 12)         set_cvar_string("sv_password", "blah") }


All times are GMT -4. The time now is 20:28.

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