hallo ich habe bei meinem payday so gemacht das man als premium immer mehr zinsen bekommt sieht so aus:
if(PlayerInfo[i][pDonateRank] == 1) { tmpintrate = 4; }
else(PlayerInfo[i][pDonateRank] == 2) { tmpintrate = 5; }
else(PlayerInfo[i][pDonateRank] == 3) { tmpintrate = 6; }
else(PlayerInfo[i][pDonateRank] == 4) { tmpintrate = 7; }
else(PlayerInfo[i][pDonateRank] == 5) { tmpintrate = 8; }
else(PlayerInfo[i][pDonateRank] == 6) { tmpintrate = 9; }
else(PlayerInfo[i][pDonateRank] == 7) { tmpintrate = 10; }
else(PlayerInfo[i][pDonateRank] == 8) { tmpintrate = 11; }
else(PlayerInfo[i][pDonateRank] == 9) { tmpintrate = 12; }
else(PlayerInfo[i][pDonateRank] == 10) { tmpintrate = 13; }
else(PlayerInfo[i][pDonateRank] == 11) { tmpintrate = 14; }
else(PlayerInfo[i][pDonateRank] == 12) { tmpintrate = 15; }
else(PlayerInfo[i][pDonateRank] == 13) { tmpintrate = 16; }
else(PlayerInfo[i][pDonateRank] == 14) { tmpintrate = 17; }
else(PlayerInfo[i][pDonateRank] == 15) { tmpintrate = 18; }
else(PlayerInfo[i][pDonateRank] == 16) { tmpintrate = 19; }
else(PlayerInfo[i][pDonateRank] == 17) { tmpintrate = 20; }
else(PlayerInfo[i][pDonateRank] == 18) { tmpintrate = 21; }
else(PlayerInfo[i][pDonateRank] == 19) { tmpintrate = 22; }
else(PlayerInfo[i][pDonateRank] == 20) { tmpintrate = 23; }
else(PlayerInfo[i][pDonateRank] == 21) { tmpintrate = 24; }
else(PlayerInfo[i][pDonateRank] == 22) { tmpintrate = 25; }
else(PlayerInfo[i][pDonateRank] == 23) { tmpintrate = 26; }
else(PlayerInfo[i][pDonateRank] == 24) { tmpintrate = 27; }
else(PlayerInfo[i][pDonateRank] == 25) { tmpintrate = 28; }
else(PlayerInfo[i][pDonateRank] == 26) { tmpintrate = 29; }
else(PlayerInfo[i][pDonateRank] == 27) { tmpintrate = 30; }
else(PlayerInfo[i][pDonateRank] == 28) { tmpintrate = 31; }
else(PlayerInfo[i][pDonateRank] == 29) { tmpintrate = 32; }
else(PlayerInfo[i][pDonateRank] == 30) { tmpintrate = 33; }
else(PlayerInfo[i][pDonateRank] == 50) { tmpintrate = 42; }
else(PlayerInfo[i][pDonateRank] == 90) { tmpintrate = 50; }
else { tmpintrate = 1; }
aber dar kommen dan die errors:
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
usw
an was liegt es vielen dank für hilfe