Thread: Remove C4
View Single Post
Author Message
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 07-04-2020 , 18:41   Remove C4
Reply With Quote #1

Hi guys,
I have problem in C4 , because in bb mod when someone be zombie he's get c4 like a normal mod and i dont like that so i was searching for plugin to remove c4 from zombie and i found it but i have got error, becuase in bb mod it working on fakemeta and in this plugin working on fakemeta_until.

Is there any code in fakemeta working like "fm_strip_user_gun".


Error log
Code:
L 07/04/2020 - 23:57:21: [AMXX] Run time error 3: stack error 
L 07/04/2020 - 23:57:21: [AMXX]    [0] fakemeta_util.inc::fm_strip_user_gun (line 671)
L 07/04/2020 - 23:57:21: [AMXX]    [1] Zombie BaseBuilderUltimatX.sma::GotBomb (line 1115)
Plugin:
PHP Code:
#include <amxmodx>
#include <fakemeta_util>

public plugin_init() {
    
register_plugin("No Bomb""0.1""connor")
    
register_event("StatusIcon""GotBomb""be""1=1""1=2""2=c4")
}

public 
GotBomb(id) {
    
fm_strip_user_gun(idCSW_C4)

Supremache is offline