Page 1 of 1

Survival Frags

Posted: Mon Nov 22, 2021 9:10 am
by greenie
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.

get plugin
get source