Error(creating gamemode).
#1

Код:
stock LoadOrgCash()
{
	new part3[250];
	new part2[40];
	if (!dini_Exists(SAVE_CASH_TO))
	{
		for (new i=1;i<OrgsCount+1;i++)
		{
		dini_Create(SAVE_CASH_TO);
		format(part3,sizeof(part3),"%d");
		Organization[i][cash] = part3;
		SaveOrgCash();
		}
	}

	for (new i=1;i<OrgsCount+1;i++)
	{
	format(part2,sizeof(part2),"%d", i);
	format(part3,sizeof(part3),dini_Get(SAVE_CASH_TO,part2));

	if (strcmp(part3," ", false) == 0)
	{
	part3 = "%d";
	}

    Organization[i][cash] = part3;
	}

	return 1;
	}
ERROR is in this line: Organization[i][cash] = part3;
Error: "Must be assigned to an array".
Reply


Messages In This Thread
Error(creating gamemode). - by RyanPetersons - 07.03.2014, 08:53
AW: Error(creating gamemode). - by WhiteKinG - 07.03.2014, 08:57
Re: Error(creating gamemode). - by RyanPetersons - 07.03.2014, 09:18
Re: Error(creating gamemode). - by RyanPetersons - 07.03.2014, 09:49
Re: Error(creating gamemode). - by BoBiTzaa - 07.03.2014, 10:33
Re: Error(creating gamemode). - by RyanPetersons - 07.03.2014, 10:34
Re: Error(creating gamemode). - by BoBiTzaa - 07.03.2014, 10:56

Forum Jump:


Users browsing this thread: 2 Guest(s)