Raised This Month: $ Target: $400
 0% 

Solved How to use hook_weapon ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 01-25-2017 , 19:57   Re: How to use hook_weapon ?
Reply With Quote #7

what about this :

PHP Code:
public plugin_init()
{
    
register_clcmd("weapon_speargun""hook_weapon")
}
public 
hook_weapon(id)
{
    
engclient_cmd(id"weapon_galil")
    return

can it work ?

Last edited by yas17sin; 01-25-2017 at 19:57.
yas17sin is offline
Send a message via ICQ to yas17sin
 



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 20:45.


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