Jump to content

Downloading


arezu

Recommended Posts

I have seen similar suggestions before.. but i'll write it anyways.

(I dont know if its already possible somehow by scripting)

it would be great if script files are downloaded before other files and that the scripts can be used before all downloads are finished. And then an event like:

onDownloadFinished, with parameters: thePlayer, fileName, fileType.

thePlayer - the player that finished download a file.

fileName - name of the downloaded file.

fileType - for example: .mp3, .txd (can use string functions to get it from filename, but its cleaner this way)

So playSound can be used after the client has finished downloading the music file.

Many maps cant use music files, or textures if the maps uses scripts at the beginning...

Edited by Guest
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...