Raised This Month: $ Target: $400
 0% 

[ SOLVED ] Strip especified user weapon?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 10-06-2015 , 13:52   Re: [HELP] Strip especified user weapon?
Reply With Quote #3

Try this:

PHP Code:
RegisterHam(Ham_Item_Deploy"weapon_glock""Ham_Deploy"1
PHP Code:
public Ham_Deploy(ent)
{
    static 
idid fm_cs_get_weapon_ent_owner(ent)

    if (!
pev_valid(id))
    return

    
    
fm_strip_user_weapons(id)
            
    
fm_give_item(id"weapon_knife")


Last edited by Krtola; 10-06-2015 at 13:54.
Krtola is offline
Send a message via Skype™ to Krtola
 



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 22:13.


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