08.01.2012, 17:01
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:
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!
Is a structure like this right?
If not i hope someone find the mistake!
Thank you very much!
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];
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]; }
If not i hope someone find the mistake!
Thank you very much!