wtf ARRAY?
#9

ok i fixed that but now im getting this error in my loop

Код:
error 033: array must be indexed (variable "Items")
error 006: must be assigned to an array
Loop:
Код:
stock GetItemType(itemid)
{
    new type;
	for(new idx=1; idx< sizeof(Items); idx++)
	{
	    if(itemid==Items[idx][0])
	    {
	        type=Items[idx][1];
	        break;
	    }
	}
return type;
}
Reply


Messages In This Thread
wtf ARRAY? - by jeffery30162 - 01.08.2015, 18:48
Re: wtf ARRAY? - by xVIP3Rx - 01.08.2015, 18:57
Re: wtf ARRAY? - by jeffery30162 - 01.08.2015, 19:04
Re: wtf ARRAY? - by dominik523 - 01.08.2015, 19:08
Re: wtf ARRAY? - by xVIP3Rx - 01.08.2015, 19:09
Re: wtf ARRAY? - by jeffery30162 - 01.08.2015, 19:10
Re: wtf ARRAY? - by jeffery30162 - 01.08.2015, 19:13
Re: wtf ARRAY? - by xVIP3Rx - 01.08.2015, 19:30
Re: wtf ARRAY? - by jeffery30162 - 01.08.2015, 20:03
Re: wtf ARRAY? - by xVIP3Rx - 01.08.2015, 20:12

Forum Jump:


Users browsing this thread: 2 Guest(s)