Raised This Month: $ Target: $400
 0% 

About player with immunity frag in menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-03-2011 , 14:21   Re: About player with immunity frag in menu
Reply With Quote #2

Use a callback function. In the call back function check if they have immunity. If they do then return ITEM_DISABLED otherwise return ITEM_ENABLED.

A callback example can be found in the New Menu Tutorial posted by Exolent.
__________________
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 01:57.


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