Question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question (
/showthread.php?tid=655188)
Question -
Nru - 15.06.2018
Hello guys I was just asking if there's any way to increase the maximum number of dimensions in pawno maybe a patch or something.
Re: Question -
GTLS - 15.06.2018
What do you mean by Dimensions? If you mean limits, then no. Because those are GTA SA's limits not Pawno's. And if you mean XYZ Dimensions, then again no cuz, there are no more dimensions.
Re: Question -
Nru - 15.06.2018
I mean like when I declare this
new iGroupRank[MAX_FACTIONS][MAX_FACTIONS_DIVS][MAX_FACTIONS_RANK][128];
I get this error ( error 053: exceeding maximum number of dimensions )
So I'm looking for a way to increase dimensions or at least a solution
Re: Question -
GTLS - 15.06.2018
Oh you mean Array Dimensions. I dont think Pawn supports more than 3 Dimensions.
Re: Question -
Nru - 15.06.2018
Is there any way to make that Idea works ?
It's about that for example a faction can have 5 divisions each division can have 10 ranks
Re: Question -
GTLS - 15.06.2018
You will have to create another array with Faction ID as a common index in iGroupRank and your other array.
Re: Question -
Nru - 15.06.2018
Thanks I solved it using enum that was better