anyone please fix the plugin
No Bomb Score
at
https://forums.alliedmods.net/showthread.php?t=15962
it has error :
When the bomb kills a CT ,the planter still gets 3 score
Anyone please fix it or write a new plugin that the planter get only 1 score when the bomb explode ?
( I post here because that thread is very old,thus it’s better to have a new plugin ,that plugin 's too old)
here 's the code
Code:
// Don't Count three Fragz on Bomb explosion / defusal
// Coded by MistaGee, requested in the "german" forum by the_venom
#include <amxmodx>
#include <amxmisc>
#include <csx>
#include <fun>
public plugin_init(){
register_plugin("NoBombScore", "1.0", "MistaGee")
}
public bomb_explode(planter, defuser){
if(is_running("cstrike")) set_user_frags(planter, get_user_frags(planter) - 3);
return PLUGIN_CONTINUE;
}// Funktion :: Bomb exploded
public bomb_defused(defuser){
if(is_running("cstrike")) set_user_frags(defuser, get_user_frags(defuser) - 3);
return PLUGIN_CONTINUE;
} // Funktion :: Bomb defused
thanks