View Single Post
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