Raised This Month: $ Target: $400
 0% 

+command wont work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
urban_ninja
Senior Member
Join Date: Feb 2009
Old 03-19-2011 , 13:26   +command wont work
Reply With Quote #1

Im trying to get a feature in my plugin to be triggered when the user is firing his weapon but +attack don't work. In fact nothing with "+" in front of a command works. What causes +commands to fail?

Here's what I have.
PHP Code:
public plugin_init()
{
    
register_clcmd("+attack""fire_restrict")
    
register_clcmd("-attack""restore")

I even added a hud message to see if what I added in the code block was at fault but no hud message appeared so the code block isn't being triggered at all.
__________________
urban_ninja 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 14:33.


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