AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Please fix error : "No Bomb Score" (https://forums.alliedmods.net/showthread.php?t=183643)

sadboy 04-24-2012 11:54

Please fix error : "No Bomb Score"
 
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 :D


All times are GMT -4. The time now is 23:26.

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