Raised This Month: $ Target: $400
 0% 

[Help] Hook Slot5 and Slot6


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 04-27-2014 , 07:15   [Help] Hook Slot5 and Slot6
Reply With Quote #1

I want to hook slot5 and slot6
My idea is making [5] and [6] as skill buttons, not change weapon slot

I saw in a cs mod, they can do it, but i dont see the code
I tried this code and failed:
PHP Code:
public plugin_init()
{
    
register_plugin("Test""1.0""Dias")
    
register_clcmd("slot5""Slot5")
}

public 
Slot5(id)
{
    
client_print(idprint_chat"Skill Activated")

dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
 



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 01:47.


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