Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. xpScale()
  2. {
  3. if( level.xpScale >= 0 && level.xpScale < 10 ) level.xpScale++;
  4. else if( level.xpScale >= 10 && level.xpScale < 100 ) level.xpScale+=10;
  5. else if( level.xpScale >= 100 && level.xpScale < 1000 ) level.xpScale+=100;
  6. else if( level.xpScale >= 1000 && level.xpScale < 10000 ) level.xpScale+=1000;
  7. else if( level.xpScale >= 10000 && level.xpScale < 100000 ) level.xpScale+=10000;
  8. else if( level.xpScale < 0 || level.xpScale >= 100000 ) level.xpScale = 0;
  9.  
  10. setDvar( "scr_xpScale", level.xpScale );
  11. self fadeText( "^7XP Scale: ^5" + level.xpScale );
  12. }
  13.  
  14.  
  15. these are two different scripts replace the one in your ff with the one that isn't currently in there :3
  16.  
  17.  
  18. {
  19. if( level.toggledXP >= 0 && level.toggledXP < 10 ) level.toggledXP++;
  20. else if( level.toggledXP >= 10 && level.toggledXP < 100 ) level.toggledXP+=10;
  21. else if( level.toggledXP >= 100 && level.toggledXP < 1000 ) level.toggledXP+=100;
  22. else if( level.toggledXP >= 1000 && level.toggledXP < 10000 ) level.toggledXP+=1000;
  23. else if( level.toggledXP >= 10000 && level.toggledXP < 100000 ) level.toggledXP+=10000;
  24. else if( level.toggledXP < 0 || level.toggledXP >= 100000 ) level.toggledXP = 0;
  25.  
  26. setDvar( "scr_xpScale", level.toggledXP );
  27.  
  28. notifyData = "^7XP scale: ^5" + level.toggledXP;
  29. self fadeText( notifyData );
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement