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

Survival Frags


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Hawk552 (427)
3Di
Member
Join Date: Sep 2009
Location: #php_title
Old 09-20-2009 , 16:59   Survival Frags
Reply With Quote #1

Survival Frags
Version 0.3 | Counter-Strike 1.6


Description
When either team wins the round, all of the alive players are awarded an extra Survival Frag.

Cvars
amx_sf - Allows admins to enable or disable Survival Frags.
Default: 1

amx_sf_frags - Amount of extra frags for a round survival.
Default: 1

amx_sf_max - If a players frags are over this number, they will not receive Survival Frags.
Default: 15

amx_sf_message -
Allows admins to enable or disable the message announcing Survival Frags.
Default: 1

Changelog
Version 0.1
  • First release.
Version 0.2
  • Optimized code for faster performance.
  • Added an extra check for alive players.
  • Removed grammar checking.
  • Fixed print_chat bug.
Version 0.3
  • Removed extra check for alive players.
  • Directly inserted get_user_frags( id ); into if statement.
  • Removed 'fun module'.

Extra Notes:
Open to suggestions, coding optimizations and comments.
Attached Files
File Type: sma Get Plugin or Get Source (Survival_Frags.sma - 2622 views - 1.2 KB)

Last edited by 3Di; 09-21-2009 at 16:50. Reason: Version 0.3 uploaded
3Di 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 12:53.


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