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

Original Code:
Spoiler


what I told you to change

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) 
what you change

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))
        {
yeah, obviously it is my fault for not fixing it for you but giving you hints to work with.

I even give you the answer, you don't even know how to paste into the plugin.

Like I said, if you don't know how to code, put your request on Request Section

I already highlighted where you should be changed in the [Original Code] part. There is no way I could do more than that other than just give you the plugins directly with only 1 line change.

Quote:
Originally Posted by v3x View Post
- This forum is NOT for suggestions, requests, additions, edits, et cetera. Please do so in Suggestions / Requests.
I really want to give you the fixed plugin from that start but I can't because this is Scripting Help where people got stuck while writing/coding asking for the way to write or fix it, not asking to do something for them.
__________________
My plugin:

Last edited by Celena Luna; 07-04-2020 at 08:05.
Celena Luna is offline