Enum help.
#5

In Pawn an array can have only up to three dimensions. (as opposed to C/C++, which can be up to 5)
Here you have four dimensions :

Код:
enum fdata
{
 ...
	fRanks[29][256],
	fName[3][256]
}
new FractionInfo[MAX_FACTIONS][fdata];

[MAX_FACTION] -> 1
[fdata] -> 2
[29] / [3] -> 3
[256] -> 4
Don't hesitate to read that : https://sampforum.blast.hk/showthread.php?tid=318212
Reply


Messages In This Thread
Enum help. - by BrianHarrisHun - 20.11.2014, 19:59
Re: Enum help. - by UltraScripter - 20.11.2014, 20:02
Re: Enum help. - by AIped - 20.11.2014, 21:04
Re: Enum help. - by FunnyBear - 20.11.2014, 22:30
Re : Enum help. - by Dutheil - 20.11.2014, 22:39
Re: Enum help. - by daniscape - 21.11.2014, 07:12
Re: Enum help. - by CoaPsyFactor - 21.11.2014, 10:28
Re : Re: Enum help. - by Dutheil - 21.11.2014, 11:00
Re: Re : Re: Enum help. - by CoaPsyFactor - 21.11.2014, 11:51
Re : Re: Re : Re: Enum help. - by Dutheil - 21.11.2014, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)