Raised This Month: $ Target: $400
 0% 

AMX CVAR Guard


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Hawk552 (427)
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 04-10-2007 , 02:16   AMX CVAR Guard
Reply With Quote #1

AMX CVAR GUARD
by Wilson [29th ID]

DESCRIPTION
Executes commands listed in an ini file on every incoming client upon
their connection to the server, and optionally can prevent the client
from changing the command to anything else.

WARNING
If the "lock" option is enabled, so that clients cannot set the commands
to anything else, the client will have to exit their game before they
can set it to anything else. No permanent effects, but sometimes people
get confused.

NOTE
Blocking commands only works for client CVARs, which are "settings".
See cvarguard.ini for examples of these cvars.

USAGE
Place cvarguard.ini in amxmodx/configs directory.
Follow instructions in that file for adding commands.
Use the below CVARs to enable this plugin in your server.

amx_cvarguard <1/0>
Enables or Disables the plugin

amx_cvarguard_lock <1/0>
Enables or Disables the "lock" feature, preventing clients from
changing commands to anything else

NOTE: This is not another "looping client_cmd" plugin. This uses a way to redefine client cvars so that the setting they control cannot be changed.
Attached Files
File Type: sma Get Plugin or Get Source (amx_cvarguard.sma - 8855 views - 3.7 KB)
File Type: zip config.zip (615 Bytes, 5899 views)
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
 



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:10.


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