Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new fam = PI[i][pFMember];
- new maxe = 100000000;
- if(fam!=-1)
- {
- if(FInfo[fam][fBest][6]!=0) maxe = 200000000;
- }
- switch(VIP)
- {
- case STATUS_NONE:
- {
- if(PI[i][pDepozit]>5000)
- {
- if(IsLauncherConnected(i) || IsMobileConnected(i))
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1300.0);
- else Bank = floatround(float(maxe)/1300.0);
- }
- else
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1350.0);
- else Bank = floatround(float(maxe)/1350.0);
- }
- }
- }
- case STATUS_VIP:
- {
- if(PI[i][pDepozit]>5000)
- {
- if(IsLauncherConnected(i) || IsMobileConnected(i))
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1210.0);
- else Bank = floatround(float(maxe)/1210.0);
- }
- else
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1250.0);
- else Bank = floatround(float(maxe)/1250.0);
- }
- }
- }
- case STATUS_GOLD:
- {
- if(PI[i][pDepozit]>5000)
- {
- if(IsLauncherConnected(i) || IsMobileConnected(i))
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1060.0);
- else Bank = floatround(float(maxe)/1060.0);
- }
- else
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1100.0);
- else Bank = floatround(float(maxe)/1100.0);
- }
- }
- }
- case 3:
- {
- PI[i][pExp] += 1;
- if(PI[i][pDepozit]>5000)
- {
- if(IsLauncherConnected(i) || IsMobileConnected(i))
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1000.0);
- else Bank = floatround(float(maxe)/1000.0);
- }
- else
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1050.0);
- else Bank = floatround(float(maxe)/1050.0);
- }
- }
- }
- case 4:
- {
- PI[i][pExp] += 1;
- if(PI[i][pDepozit]>5000)
- {
- if(IsLauncherConnected(i) || IsMobileConnected(i))
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/960.0);
- else Bank = floatround(float(maxe)/960.0);
- }
- else
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/1000.0);
- else Bank = floatround(float(maxe)/1000.0);
- }
- }
- }
- case 5:
- {
- PI[i][pExp] += 1;
- if(customafk_Get(i)<200 && PI[i][pWarns] == 0) GiveDonate( i, 2 );
- if(PI[i][pDepozit]>5000)
- {
- if(IsLauncherConnected(i) || IsMobileConnected(i))
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/900.0);
- else Bank = floatround(float(maxe)/900.0);
- }
- else
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/950.0);
- else Bank = floatround(float(maxe)/950.0);
- }
- }
- }
- case 6:
- {
- PI[i][pExp] += 1;
- if(customafk_Get(i)<200 && PI[i][pWarns] == 0)GiveDonate( i, 4 );
- if(PI[i][pDepozit]>5000)
- {
- if(IsLauncherConnected(i) || IsMobileConnected(i))
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/760.0);
- else Bank = floatround(float(maxe)/760.0);
- }
- else
- {
- if(PI[i][pDepozit]<maxe) Bank = floatround(float(PI[i][pDepozit])/800.0);
- else Bank = floatround(float(maxe)/800.0);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement