View Single Post
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 07-04-2020 , 03:47   Re: leave only the bomb
Reply With Quote #21

I can't believe you can't even copy and paste...

Quote:
Originally Posted by Celena Luna View Post
PHP Code:
if(equali(classname,"weaponbox") && get_pdata_bool(ent1054)) //Check if the entity is weapon box and if it is a bomb or not. (m_bIsBomb = 105) 
Quote:
Originally Posted by jonny1990 View Post
Code:
public W_Model_Hook(ent,model[]) {     if(get_pcvar_num(toggle_pcvar) && pev_valid(ent))     {         static classname[32]         pev(ent,pev_classname,classname,31)
        if(equali(classname,"bIsBomb") && get_pdata_bool(ent, 105, 4))
        {
__________________
My plugin:

Last edited by Celena Luna; 07-04-2020 at 03:50.
Celena Luna is offline