Raised This Month: $ Target: $400
 0% 

[HELP] Block gl_fog command?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-05-2016 , 14:20   [HELP] Block gl_fog command?
Reply With Quote #1

How do i block this command?
Code:
gl_fog 0
I've tried, but doesn't work, it seems like it doesn't get hooked.. the print message isn't displaying aswell =\
Code:
public plugin_init() 
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_concmd("gl_fog", "block")
    register_clcmd("gl_fog", "block")
    
    // Add your code here...
}

public block(id)
{
    client_print(id, print_chat, "test")
    return PLUGIN_HANDLED;
}
__________________
Depresie is offline
 



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 09:26.


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