View Single Post
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 05-16-2018 , 09:47   Re: [HELP] Remove bomb..
Reply With Quote #9

Quote:
Originally Posted by CrazY. View Post
This will remove all weaponboxes. Check if the world model it's of the C4.
How would I do this in a good way..
I solved it using a variable, it is not nice but it works.

I'm guessing I should have used something like find_ent_by_model.

Quote:
Originally Posted by HamletEagle View Post
No need to set FL_KILLME, calling think should be enough.
When I deleted that line, bomb was not removed from the ground.
You mean I don't need that line when I have found c4 ent specifically?

I would like to know why I get a tag mismatch when I try to change the planted bomb radar coordinates.

Code:
        origin[0] = 1108.650879
        origin[1] = 2571.609863
        origin[2] = 132.031250
        message_begin(MSG_ALL, get_user_msgid("BombDrop"), {0,0,0}, 1) 
        write_coord(origin[0]);
        write_coord(origin[1]);
        write_coord(origin[2]);
        write_byte(1);
        message_end();

Last edited by suhdude; 05-16-2018 at 10:48.
suhdude is offline