This error
#1

PHP Code:
            if(listitem == 0)
            {
                new 
stringad[100];
                foreach(
Playeri)
                {
                    if(
PlayerInfo[pAdvert] != "None"// Error line
                    
{
                        
format(stringadsizeof(string), "%s | Contact: %i\n",PlayerInfo[pAdvert], PlayerInfo[pPnumber]);
                    }
                    else
                    {
                        
format(stringadsizeof(string), "No Advertisement Yet");
                    }
                }
                
ShowPlayerDialog(playeridDIALOG_ADLISTDIALOG_STYLE_LIST"Advertisement List"stringad"Select""Cancel");
            } 
The error:
PHP Code:
error 033: array must be indexed (variable "-unknown-"
Reply


Messages In This Thread
This error - by Alpay0098 - 01.07.2016, 15:25
Re: This error - by DTV - 01.07.2016, 15:48
Re: This error - by Alpay0098 - 01.07.2016, 16:36
Re: This error - by DTV - 01.07.2016, 16:47
Re: This error - by Alpay0098 - 02.07.2016, 07:45
Re: This error - by SyS - 02.07.2016, 07:47
Re: This error - by VincenzoDrift - 02.07.2016, 09:17

Forum Jump:


Users browsing this thread: 1 Guest(s)