Raised This Month: $ Target: $400
 0% 

Strip recived weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 03-06-2010 , 11:27   Strip recived weapon
Reply With Quote #1

Is there a way to detect if a user receive a weapon?
So then I can strip it. I mean any weapon/nade/etc.
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-06-2010 , 12:04   Re: Strip recived weapon
Reply With Quote #2

PHP Code:
RegisterHamHam_Item_Deploy"weapon_yourweapon""HFW_YourWeapon_Deploy_Post" // 1 makes it AFTER, use 1 to strip, 0 to stop deploy 
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT

Last edited by wrecked_; 03-06-2010 at 12:11.
wrecked_ is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 03-06-2010 , 12:07   Re: Strip recived weapon
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <hamsandwich>
 
public plugin_init()
        
RegisterHam(Ham_AddPlayerItem"player""fwdAddPlayerItem");
 
public 
fwdAddPlayerItem()
        return 
HAM_SUPERCEDE
__________________
hleV 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 08:45.


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