Problem with enums (Set a limit for saveboxes)
#1

Hello,
i have a big problem with a savebox for gangs!
I hope someone can help me!
First: Sorry for my english, i am german and my english in school isn`t the best!
First this:
Код:
enum SBLimits1
{
	Mats,
	Drogen,
	Deagle,
	M4,
	MP5,
	Shotgun,
	Rifle
};
new SBLimits[25][11][SBLimits1];
25 = GangID
11 = Rank in the Gang

To Set the Limit i created some dialogs and the GangID, RankL and the Limit was set in a global variable!

Код:
if(ItemSBL1[playerid] == 1){
SBLimits[GangID[playerid]][RankL[playerid]][Mats] = LimitL[playerid];
}
Is a structure like this right?
If not i hope someone find the mistake!

Thank you very much!
Reply
#2

Wow a 3D array... Your aware of how large that is right?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)