'LinKin Posted April 4, 2014 Posted April 4, 2014 Hello, I was wondering if there's a way to put an image or a text on the screen while the player is downloading. Instead of the blackscreen, also, is it possible to give a resource a priority? So that it starts before other resources. Thanks. Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
.:HyPeX:. Posted April 4, 2014 Posted April 4, 2014 As far as ik, you cant, since all the resources will try to be loaded upon join, you can just make a small resource for start, and then just make a huge loadstring with other files... Just giving some ideas... Anyways, this will be easier at 1.4 with downloadFile. My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
kevenvz Posted April 4, 2014 Posted April 4, 2014 I thought textCreateDisplay could do this, just make the text when the player joins(onPlayerJoin) and then Trigger a server event when the onClientResourceStart event runs.
'LinKin Posted April 4, 2014 Author Posted April 4, 2014 I've seen somewhere that when a player is downloading the resources etc.. There's a blackscreen with a text on it. Saying Please wait .. Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
arezu Posted April 4, 2014 Posted April 4, 2014 I've seen somewhere that when a player is downloading the resources etc.. There's a blackscreen with a text on it. Saying Please wait .. The guy above you wrote the solution..
Arnold-1 Posted April 4, 2014 Posted April 4, 2014 function wait ( ) waiting = textCreateDisplay() textDisplayAddObserver ( waiting, source ) local waitText = textCreateTextItem ( "Please Wait", 0.5, 0.5 ) textDisplayAddText (waiting, source ) end addEventHandler("onPlayerJoin",root,wait) function unwait () textDestroyDisplay(waiting) end addEvent("onUnwait",true) addEventHandler("onUnwait",root,unwait) --client destroy = true addEventHandler("onClientResourceStart",root, function () if destroy then triggerServerEvent("onUnwait",localPlayer) destroy = false end i think this must work. Ingame Name: Arnold If you need my help, contact me on Skype @bshr.ara NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP
'LinKin Posted April 5, 2014 Author Posted April 5, 2014 Thanks Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
Arnold-1 Posted April 5, 2014 Posted April 5, 2014 You're Welcome. Ingame Name: Arnold If you need my help, contact me on Skype @bshr.ara NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now