Thread: Survival Frags
View Single Post
Plugin Info:     Modification:          Category:          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