Raised This Month: $ Target: $400
 0% 

[HELP] Remove bomb..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 05-15-2018 , 10:32   Re: [HELP] Remove bomb..
Reply With Quote #1

This will remove all weaponboxes. Check if the world model it's of the C4.
__________________









Last edited by CrazY.; 05-15-2018 at 10:32.
CrazY. is offline
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 05-16-2018 , 09:47   Re: [HELP] Remove bomb..
Reply With Quote #2

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
Reply



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 04:40.


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