31.12.2016, 23:18
(
Последний раз редактировалось GoldenLion; 01.01.2017 в 00:08.
)
Hi, I'm working on my family system and the problem is when I want to talk in family chat then it doesn't show my rank and when I print the rank then it prints "(null)".
I have this:
and the ranks are not actually null, because for example if I create a family I'm doing this:
and when I print them right after doing that they are "None" so it's all good.
This is the line:
What's up?
EDIT: Sometimes it works though...
I have this:
Код:
new FamilyRank[MAX_FAMILIES][15][24];
Код:
for (new j; j < ranks; j++) FamilyRank[i][j] = "None";
This is the line:
Код:
SendClientMessageEx(i, COLOR_LIGHTGREEN, "(( (%d) %s %s: %s ))", PlayerInfo[playerid][pFamilyRank], FamilyRank[familyid][PlayerInfo[playerid][pFamilyRank] - 1], GetName(playerid), params);
EDIT: Sometimes it works though...