2/13/2023 0 Comments Garrys mod loading screen![]() ![]() ![]() GMod will call them as the information updates. To use these javascript functions simply define them in your HTML with the exact name and number of parameters as are shown in the above list. The parameter is the total number of files to be downloaded during this connect attempt.Called at the same time as SetFilesNeeded.The parameter is the number of files remaining to be downloaded (including the currently downloading file).Called when the number of files left to download changes. ![]() The parameter is the status text (as printed in the status text in the grey loading box).Called when a status other than downloading appears in the grey loading box.The parameter is the name of the file (as printed in the status text in the grey loading box).Called when a file starts downloading (based on the status text in the grey loading box).These are the javascript functions that the game will call to your webpage to update the status of the joining process. Once you have uploaded your page just run sv_loadingurl " " or whatever the directory name (or php file) is. To setup sv_loadingurl all you need is a web server to host the page on. The page players will see when joining your server and downloading resources. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |