How to remove C4 bomb from user?
Is this possible to remove c4 bomb from users inventory without being noticed?
(I dont like to see dropped c4 on ground on ground) User must spawn with c4 bomb at every round. The c4 bomb should be removed from inventory after the function is called! [I want to know that thing which removes bomb from users inventory after it is planted on bomb site!] |
Re: How to remove C4 bomb from user?
yes its possible
http://forums.alliedmods.net/showthread.php?t=56377 theres an example you could use to strip c4 |
Re: How to remove C4 bomb from user?
That's nice! :D
Can you give me example? or that function? |
Re: How to remove C4 bomb from user?
copy the ham_strip_user_weapon stock from the code and uncomment the counter-strike block with C4.
Then simply use ham_strip_user_weapon( id, "weapon_c4" ). |
Re: How to remove C4 bomb from user?
Thnx solve
Code:
ham_strip_weapon(id,"weapon_c4")I dont want make spam that's why i am posting another topic related with C4 bomb. PHP Code:
Why above code is giving C4 bomb to all terrorist? If terrorist is already have C4 bomb then it should not receive another C4 bomb. My code is correct or not? How could i stop default c4 giving function? Or is there any another way to find if terrorist already have c4 bomb? Is there any solution? :roll: EDIT: Thnx solved! Game already have there default spawn function! For custom function it need little bit delay! It is done through set_task. Tested and works perfect for me! :mrgreen: PHP Code:
|
Re: How to remove C4 bomb from user?
the c4 is probably given after player spawns
|
Re: How to remove C4 bomb from user?
Hey, only block a user plant C4 :)
PHP Code:
|
Re: How to remove C4 bomb from user?
With orpheu hook "GiveC4" and supercede it
|
| All times are GMT -4. The time now is 08:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.