Raised This Month: $51 Target: $400
 12% 

C4 drop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 10-05-2010 , 04:50   C4 drop
Reply With Quote #1

Hi i made plug that gives C4
But when you used it stills remain in your inventory
How to make that if you planted it, to remove it from your inventory....
__________________
edgaras85 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 10-05-2010 , 09:14   Re: C4 drop
Reply With Quote #2

That doesn't happen... if you plant the bomb it drops from your inventory, there must be some problem with your giving c4 plugin.
__________________
Hunter-Digital is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 10-05-2010 , 10:51   Re: C4 drop
Reply With Quote #3

Quote:
Originally Posted by Hunter-Digital View Post
That doesn't happen... if you plant the bomb it drops from your inventory, there must be some problem with your giving c4 plugin.
give_item(id,"weapon_c4");
Whats bad?

Its not like C4 its edited item but, when i place it doesnt drop it still remains....
Its like c4 but you can place everywhere...
__________________
edgaras85 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-05-2010 , 13:53   Re: C4 drop
Reply With Quote #4

http://www.amxmodx.org/funcwiki.php?go=func&id=198

See notes
__________________
Bugsy is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 10-05-2010 , 14:26   Re: C4 drop
Reply With Quote #5

Quote:
Originally Posted by Bugsy View Post
Look, you got it bad

I buy like a super weapon, and gives you C4 with other model
and you can set it everywhere but when you set it still remains....
__________________
edgaras85 is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 10-05-2010 , 14:28   Re: C4 drop
Reply With Quote #6

Maybe show your plugin source here?...
FiFiX is offline
Send a message via Skype™ to FiFiX
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 10-05-2010 , 15:26   Re: C4 drop
Reply With Quote #7

Quote:
Originally Posted by FiFiX View Post
Maybe show your plugin source here?...
Sorry, cant Private plugin...
__________________
edgaras85 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-05-2010 , 16:14   Re: C4 drop
Reply With Quote #8

Did you try to call cs_set_user_plant( id , 0 , 0 ) after the bomb is planted? If not, try it.
__________________
Bugsy is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 10-05-2010 , 16:20   Re: C4 drop
Reply With Quote #9

Quote:
Originally Posted by Bugsy View Post
Did you try to call cs_set_user_plant( id , 0 , 0 ) after the bomb is planted? If not, try it.
Not helping
__________________
edgaras85 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 10-05-2010 , 19:28   Re: C4 drop
Reply With Quote #10

Show the code if you want help, the C4 doesn't stick around after beeing planted.

Or you could look here: http://forums.alliedmods.net/showthread.php?t=132115
The C4 is a special weapon and can be planted anywhere, it's the default one and does not remain in inventory after beeing planted.
__________________
Hunter-Digital 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 07:12.


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