Array must be indexed
#1

Hey, I'm having another problem.

With (part of) my script:
Код:
new Name[24]; 
GetPlayerName(playerid, Name, sizeof(Name));

if (AHouseData[HouseID][Owner] == Name)
It outputs this error:
Код:
array must be indexed (variable "Name")
Please note: that is only a tiny snippet of my code and the error is on the line
Код:
if (AHouseData[HouseID][Owner] == Name)
. I have tried everything and picked out the relevant parts of the code that I think will help you solve the issue I am facing. Thanks in advance.
Reply


Messages In This Thread
Array must be indexed - by Proxus - 13.02.2019, 17:24
Re: Array must be indexed - by Terzic - 13.02.2019, 17:40
Re: Array must be indexed - by Pottus - 13.02.2019, 17:58
Re: Array must be indexed - by Proxus - 13.02.2019, 18:38
Re: Array must be indexed - by d3Pedro - 13.02.2019, 18:46
Re: Array must be indexed - by Proxus - 13.02.2019, 20:04
Re: Array must be indexed - by d3Pedro - 13.02.2019, 20:17
Re: Array must be indexed - by Proxus - 14.02.2019, 05:45
Re: Array must be indexed - by Proxus - 14.02.2019, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)