Raised This Month: $12 Target: $400
 3% 

Please fix error : "No Bomb Score"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sadboy
Member
Join Date: Jun 2009
Old 04-24-2012 , 11:54   Please fix error : "No Bomb Score"
Reply With Quote #1

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

Last edited by sadboy; 04-24-2012 at 12:16.
sadboy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:57.


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