Raised This Month: $ Target: $400
 0% 

If not shooting gun/Punish v1.2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 07-17-2016 , 02:10   If not shooting gun/Punish v1.2
Reply With Quote #1

If not shooting gun/Punish v1.2

Description:
This plugin punishes everyone who does not make a shot in the game after a certain time elapsed.

Quote:
Originally Posted by mlibre View Post
It is not necessary to target an enemy , you just have to shoot the gun before the set time runs out, not to be punished (With the new cvar "amx_enemy_attack" omit this option, forcing the player to attack the enemy). This I think helps encourage the player to use his gun, serious as a supplement to fight the players without activity.

Cvars:
PHP Code:
amx_time_no_shoot "90" // seconds left
amx_warning_time "15" // seconds remaining to see the warning
amx_warning_type "5" // 0 = none / 1 = console / 2 = console dev / 3 = chat / 4 = center / 5 = hud
amx_punish_type "4" // 1 = kick / 2 = ban / 3 = slay / 4 = slap
amx_ban_time "15" // 0 = permanent
amx_slap_dmg "10" // slap damage
amx_knife_attack "1" // 0 = off / 1 = on (restart seconds left)
amx_immunity_flags "abcdefghijklmnopqrst"
amx_omit_punish "1" // 0 = off / 1 = on (omit punishment , if there is X amount of enemies specified in amx_num_players) 
amx_num_players "1 1" /* specify the number of players (TE/CT) if the amx_omit_punish is set to 1
                          example: amx_num_players "17 9" = 17 terrorists and 9 counter-terrorists
                          (always leave a space between the two numbers and must be in quotes) */
amx_enemy_attack "0" // punish if you do not attack the enemy 
Modules:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich> 
Languages:


Installation:


Credits:


Changelog:


This plugin running in: [here]

Note:
If you find an bug or can optimize the code, all suggestions are welcome.
Attached Images
File Type: jpg img.jpg (6.7 KB, 550 views)
Attached Files
File Type: sma Get Plugin or Get Source (if_not_shooting_punish.sma - 20464 views - 11.3 KB)
File Type: txt if_not_shooting_punish.txt (888 Bytes, 264 views)
__________________

Last edited by mlibre; 06-15-2017 at 10:11. Reason: updated v1.2 (fix compile -.-)
mlibre 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 02:00.


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