AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   About sv_password and setinfo values (https://forums.alliedmods.net/showthread.php?t=98760)

rjckE 07-28-2009 22:53

About sv_password and setinfo values
 
Is there any way to lock sv_password value between certain hours in the day?
I want to keep my server open between 7 am and 11.30 pm.


Another question is:
Is there any way to make a custom value for a setinfo? You know, like setinfo _pw mypassword but for banned people.

Fox example


amx_myban Player

Then that player got setinfo _iambanned "1"

And i check when someone's join to my server if _iambanned is true or false.

Does this exist?

Thanks

fysiks 07-29-2009 00:42

Re: About sv_password and setinfo values
 
Quote:

Originally Posted by rjckE (Post 884506)
Is there any way to lock sv_password value between certain hours in the day?
I want to keep my server open between 7 am and 11.30 pm.

Yes. Here is one possibility.

Quote:

Originally Posted by rjckE (Post 884506)
Another question is:
Is there any way to make a custom value for a setinfo? You know, like setinfo _pw mypassword but for banned people.

Fox example


amx_myban Player

Then that player got setinfo _iambanned "1"

And i check when someone's join to my server if _iambanned is true or false.

Does this exist?

Ban by SteamID.

rjckE 07-29-2009 16:13

Re: About sv_password and setinfo values
 
Thanks a lot :)


All times are GMT -4. The time now is 18:23.

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