Raised This Month: $ Target: $400
 0% 

How to transfer a lot of options in "for" operator


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
groofshark
Member
Join Date: Jul 2013
Old 05-29-2015 , 06:31   How to transfer a lot of options in "for" operator
Reply With Quote #1

Hello, I have a lot of options and I want to save space and turn them into "for" operator, but I dont know how... I tried but there isn't effect...

Simple Example Code


I want to do something like that, but now there isn't effect:
PHP Code:
for( new itemitem<sizeof(options-1); item++ )
{    
    for( new 
inuminum<sizeof(iItem-1); inum++ )
    {
        if( 
g_options[id][item] && iItem == inum 
        {
            return 
ITEM_DISABLED;
        }
    }

I would like to help me. Thanks

Last edited by groofshark; 05-29-2015 at 06:32.
groofshark 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 17:41.


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