Raised This Month: $ Target: $400
 0% 

My plugin (ScoutKnifezManager) Help pls? :)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-11-2009 , 21:32   Re: My plugin (ScoutKnifezManager) Help pls? :)
Reply With Quote #6

Quote:
Originally Posted by TitANious View Post
2. When i disable, exampel AWP in pcvar, then it can still be seen in menu, but you cant take it
Check the cvar when creating the menu and if it's not zero then add the item.

PHP Code:
if(get_pcvar_num(mycvarpointer))
{
    
menu_additem/* .... */)

Don't change any data or the handler.
__________________
fysiks 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 02:23.


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