Raised This Month: $ Target: $400
 0% 

block nvg buying


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 05-15-2005 , 03:23   block nvg buying
Reply With Quote #1

i tried this code

Code:
 public cmdnvgblock()  {      if (get_cvar_num ("dark_allownvg") == 0 )           return PLUGIN_CONTINUE            return PLUGIN_HANDLED  }

the registered command is this:
Code:
    register_clcmd("nvgs", "cmdnvgblock")

somehow, it doesn't work. any idea?
__________________
Plugins:
none

n0obie4life is offline
 


Thread Tools
Display Modes

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 16:41.


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