12.09.2017, 13:11
Quote:
I have changed it with the square brackets around the fData but it doesn't work. Just comes up with a tag mismatch, undefined symbol and local variable shadows... So that didn't work.
I don't understand? If you mean to switch through all of the ranks and then set it manually? As i have already done this and i am trying it this way to avoid that. But if there isn't a way to do it like this then i'll just revert back to it. |
PHP код:
if
PHP код:
switch
PHP код:
for(new p = 0; fData:p < fData; p++) {
if(pData[i][FactionRank]==fData:p) {
FactionPayout += Faction_Data[factionid][fData:p];
format(str, sizeof(str), "Employement Pay: %i", Faction_Data[factionid][fData:p]);
break;
}
}