Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GameDetails( 'Testserver', 'localhost', 'ttt_mc_skyislands', 8, 76561198078689316, 'ttt' );
- SetStatusChanged( 'Downloading some demo files...' );
- var demofiles = [
- 'materials/models/ttt/knife.mdl',
- 'materials/models/ttt/pistol.mdl',
- 'materials/models/ttt/longsword.mdl',
- 'materials/models/ttt/now.mdl',
- 'materials/models/ttt/let.mdl',
- 'materials/models/ttt/me.mdl',
- 'materials/models/ttt/tell.mdl',
- 'materials/models/ttt/you.mdl',
- 'materials/models/ttt/that.mdl',
- 'materials/models/ttt/i.mdl',
- 'materials/models/ttt/am.mdl',
- 'materials/models/ttt/bored.mdl',
- 'materials/models/ttt/this.mdl',
- 'materials/models/ttt/is.mdl',
- 'materials/models/ttt/a.mdl',
- 'materials/models/ttt/demo.mdl',
- 'materials/models/ttt/file.mdl',
- 'materials/models/ttt/door1.mdl',
- 'materials/models/ttt/door2.mdl',
- 'materials/models/ttt/door3.mdl',
- 'materials/models/ttt/door4.mdl',
- 'materials/models/ttt/weapon1.mdl',
- 'materials/models/ttt/weapon2.mdl',
- 'materials/models/ttt/weapon3.mdl',
- 'materials/models/ttt/weapon4.mdl',
- 'materials/models/ttt/weapon5.mdl',
- 'materials/models/ttt/weapon6.mdl',
- 'materials/models/ttt/weapon7.mdl',
- 'materials/models/ttt/weapon8.mdl',
- 'materials/models/ttt/weapon9.mdl',
- 'materials/models/ttt/weapon10.mdl',
- ];
- SetFilesTotal( demofiles.length );
- var index = 0;
- var fileTimer = null;
- fileTimer = setInterval(function() {
- if (index > demofiles.length) { clearInterval(fileTimer); return;}
- DownloadingFile( demofiles[index] );
- SetFilesNeeded( demofiles.length - index );
- index++;
- }, 200);
Add Comment
Please, Sign In to add comment