#killer agent standart money (100-150-200, norm : 150)
(assign, ":killer_agent_standard_money_addition", multi_killer_agent_standard_money_add),
(val_mul, ":killer_agent_standard_money_addition", "$g_multiplayer_battle_earnings_multiplier"),
(val_div, ":killer_agent_standard_money_addition", 100),
(try_begin), #add this
(eq, "$g_multiplayer_game_type", multiplayer_game_type_captain_team_deathmatch),
(agent_is_non_player, ":dead_agent_no"),
(assign, ":killer_agent_standard_money_addition", 0), #no change
(else_try),
(this_or_next|eq, "$g_multiplayer_game_type", multiplayer_game_type_deathmatch), #(4/3x) share if current mod is deathmatch
(this_or_next|eq, "$g_multiplayer_game_type", multiplayer_game_type_duel), #(4/3x) share if current mod is duel
(this_or_next|eq, "$g_multiplayer_game_type", multiplayer_game_type_captain_team_deathmatch), #(4/3x) share if current mod is capture the flag
(this_or_next|eq, "$g_multiplayer_game_type", multiplayer_game_type_captain_coop), #(4/3x) share if current mod is coop
(eq, "$g_multiplayer_game_type", multiplayer_game_type_team_deathmatch), #(4/3x) share if current mod is headquarters
(val_mul, ":killer_agent_standard_money_addition", 4),
(val_div, ":killer_agent_standard_money_addition", 3),
(assign, reg7, ":player_gold"),
(val_add, ":player_gold", ":killer_agent_standard_money_addition"),
(assign, reg7, ":player_gold"),
(else_try),
## (this_or_next|eq, "$g_multiplayer_game_type", multiplayer_game_type_battle), #(2/3x) share if current mod is battle
## (eq, "$g_multiplayer_game_type", multiplayer_game_type_destroy), #(2/3x) share if current mod is fight and destroy
(eq, "$g_multiplayer_game_type", multiplayer_game_type_battle), #(2/3x) share if current mod is battle
(val_mul, ":killer_agent_standard_money_addition", 2),
(val_div, ":killer_agent_standard_money_addition", 3),
(val_add, ":player_gold", ":killer_agent_standard_money_addition"),
(else_try),
(eq, "$g_multiplayer_game_type", multiplayer_game_type_captain_battle), #(5/3x) share if current mod is captain battle
(val_mul, ":killer_agent_standard_money_addition", 5),
(val_div, ":killer_agent_standard_money_addition", 3),
(val_add, ":player_gold", ":killer_agent_standard_money_addition"),
(else_try),
(val_add, ":player_gold", ":killer_agent_standard_money_addition"), #(3/3x) share if current mod is siege
(try_end),
And if you don't want bots killing bots to count:
(else_try),
(agent_get_player_id, ":player_no", ":killer_agent_no"),
(eq, ":player_no", -1), #if killer agent is a bot
(eq, "$g_multiplayer_is_game_type_captain", 1),
(agent_get_group, ":agent_group", ":killer_agent_no"),
(player_is_active, ":agent_group"),
(player_get_gold, ":player_gold", ":agent_group"),
(try_begin),
(eq, "$g_multiplayer_game_type", multiplayer_game_type_captain_coop),
(store_mul, ":share_of_killer_agent", "$g_multiplayer_ccoop_wave_no", 20),
(val_sub, ":share_of_killer_agent", 20),
(val_add, ":share_of_killer_agent", multi_killer_captain_coop_add),
(val_mul, ":share_of_killer_agent", "$g_multiplayer_battle_earnings_multiplier"),
(val_div, ":share_of_killer_agent", 100),
(val_add, ":player_gold", ":share_of_killer_agent"),
(else_try), #add this here
(neg|agent_is_non_player, ":player_no", ":dead_agent_no"), #bots killing players
(val_add, ":player_gold", multi_killer_captain_add),
(try_end),
(player_set_gold, ":agent_group", ":player_gold", multi_max_gold_that_can_be_stored),
(try_end),