Raised This Month: $ Target: $400
 0% 

Help with blocking command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vitorrossi
Senior Member
Join Date: Apr 2012
Location: NY, USA
Old 08-29-2012 , 00:43   Re: Help with blocking command
Reply With Quote #8

I based myself off of http://forums.alliedmods.net/showthread.php?p=660187 and http://forums.alliedmods.net/showthread.php?t=178185

I am doing exactly what they did but it is not working. He registers the client command lets say for buy

Code:
register_clcmd("buy", "bblocked");
So from there he is calling the public bblocked

Code:
public bblocked(id)
    {
    ColorChat(id,GREEN, "%L", id, "BLOCK_BUY", szPrefix);
    return PLUGIN_HANDLED
    }
Is that stopping the player from being able to use buy command?

Last edited by vitorrossi; 08-29-2012 at 00:48.
vitorrossi 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 05:51.


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