Raised This Month: $51 Target: $400
 12% 

Melee Only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Earth's Special Forces        Category:   Admin Commands        Approver:   Hawk552 (427)
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-07-2009 , 06:49   Melee Only
Reply With Quote #1

Description:
With this you can set Melee Only mode for all players or a single target via console command.
Requirements:
  • Earth's Special Forces 1.2.3;
  • AMX Mod X 1.8.0 or higher.
CVARs:
  • mo_msg <num> - enables/disables HUD messages showing stuff (default: 1);
  • mo_admin <num> - if set to 1, admins are not affected by Melee Only mode (default: 0);
Commands:
amx_meleeonly <@all|name or #userid> <1|0> - forces to play melee only. Examples:
  • amx_meleeonly @all 1 - forces all player to play melee;
  • amx_meleeonly hleV 1 - forces me to play melee only;
  • amx_meleeonly hleV 0 - unforces me playing melee only (yay).
Changelog:
Quote:
1.3
- Fixed so if amx_meleeonly @all is set to 1, new connecting people would be automatically switched to Melee Only mode.

1.2
- Removed mo_status CVAR.
- Rewriten @all setting part.
- Fixed target unforcing playing melee when amx_meleeonly @all is 1.
- Removed CMD_ALREADYENABLED & CMD_ALREADYDISABLED from ML.

1.1
- Optimized target's Melee Only status checking.

1.0
- Initial release.
Attached Files
File Type: sma Get Plugin or Get Source (meleeonly.sma - 1921 views - 3.5 KB)
File Type: txt meleeonly.txt (1.6 KB, 612 views)
__________________

Last edited by hleV; 02-10-2009 at 06:09. Reason: Added de translation and removed nl one because it wasn't translated correctly.
hleV is offline
 



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 15:51.


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