Raised This Month: $ Target: $400
 0% 

Define players...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Davidos
Senior Member
Join Date: Feb 2005
Old 03-05-2006 , 08:25   Define players...
Reply With Quote #1

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.
Davidos is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-05-2006 , 08:51  
Reply With Quote #2

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") }
VEN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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