Guest User

Untitled

a guest
Jul 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. GameDetails( 'Testserver', 'localhost', 'ttt_mc_skyislands', 8, 76561198078689316, 'ttt' );
  2.  
  3. SetStatusChanged( 'Downloading some demo files...' );
  4.  
  5. var demofiles = [
  6. 'materials/models/ttt/knife.mdl',
  7. 'materials/models/ttt/pistol.mdl',
  8. 'materials/models/ttt/longsword.mdl',
  9. 'materials/models/ttt/now.mdl',
  10. 'materials/models/ttt/let.mdl',
  11. 'materials/models/ttt/me.mdl',
  12. 'materials/models/ttt/tell.mdl',
  13. 'materials/models/ttt/you.mdl',
  14. 'materials/models/ttt/that.mdl',
  15. 'materials/models/ttt/i.mdl',
  16. 'materials/models/ttt/am.mdl',
  17. 'materials/models/ttt/bored.mdl',
  18. 'materials/models/ttt/this.mdl',
  19. 'materials/models/ttt/is.mdl',
  20. 'materials/models/ttt/a.mdl',
  21. 'materials/models/ttt/demo.mdl',
  22. 'materials/models/ttt/file.mdl',
  23. 'materials/models/ttt/door1.mdl',
  24. 'materials/models/ttt/door2.mdl',
  25. 'materials/models/ttt/door3.mdl',
  26. 'materials/models/ttt/door4.mdl',
  27. 'materials/models/ttt/weapon1.mdl',
  28. 'materials/models/ttt/weapon2.mdl',
  29. 'materials/models/ttt/weapon3.mdl',
  30. 'materials/models/ttt/weapon4.mdl',
  31. 'materials/models/ttt/weapon5.mdl',
  32. 'materials/models/ttt/weapon6.mdl',
  33. 'materials/models/ttt/weapon7.mdl',
  34. 'materials/models/ttt/weapon8.mdl',
  35. 'materials/models/ttt/weapon9.mdl',
  36. 'materials/models/ttt/weapon10.mdl',
  37. ];
  38.  
  39. SetFilesTotal( demofiles.length );
  40.  
  41. var index = 0;
  42. var fileTimer = null;
  43. fileTimer = setInterval(function() {
  44. if (index > demofiles.length) { clearInterval(fileTimer); return;}
  45. DownloadingFile( demofiles[index] );
  46. SetFilesNeeded( demofiles.length - index );
  47. index++;
  48. }, 200);
Add Comment
Please, Sign In to add comment