[HELP] Remove bomb..
I have looked in these threads and tried some of the code without any luck.
https://forums.alliedmods.net/showth...=40164?t=40164 https://forums.alliedmods.net/showthread.php?p=2289060 https://forums.alliedmods.net/showthread.php?p=1796448 Some code simply dropped the bomb and would not let me pick it up. This is not an option as it will interfere with gameplay. And other code did nothing although it compiled without errors. How do I properly remove the bomb entity and hud from a player? Thanks |
Re: [HELP] Remove bomb..
PHP Code:
|
Re: [HELP] Remove bomb..
Quote:
Players still drop the bomb and it makes a noise when you pick it up. Thanks. |
Re: [HELP] Remove bomb..
This removes the zone, c4 and hud. Test and see.
|
Re: [HELP] Remove bomb..
Quote:
I have one problem now, when the bomb explodes round is not over. I have a function that automatically plants a bomb at the bomb site. That is why I want to remove bomb, but team should also be able to win. Thanks a ton! |
Re: [HELP] Remove bomb..
SOLVED
//This removes bomb when it is dropped Code:
public plugin_init() |
Re: [HELP] Remove bomb..
This will remove all weaponboxes. Check if the world model it's of the C4.
|
Re: [HELP] Remove bomb..
Quote:
|
Re: [HELP] Remove bomb..
Quote:
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:
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 |
Re: [HELP] Remove bomb..
write_coord wants an integer, you are providing a float. Use EngFunc_WriteCoord.
|
All times are GMT -4. The time now is 03:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.