Feche1320 Posted March 18, 2012 Posted March 18, 2012 How could I check if a player is downloading a map? isTransferBoxActive doesn't work for when downloading maps.
-RoCk-Alex Posted March 18, 2012 Posted March 18, 2012 How could I check if a player is downloading a map? isTransferBoxActive doesn't work for when downloading maps. https://community.multitheftauto.com/index.php?p= ... ls&id=3687 works while player downloading map you can see them in scoreboard
Feche1320 Posted March 18, 2012 Author Posted March 18, 2012 That's to check if a player is downloading a resource, not a map. Anyways, I solved it by using onClientResourceStart and onClientResourceStop.
-RoCk-Alex Posted March 18, 2012 Posted March 18, 2012 That's to check if a player is downloading a resource, not a map.Anyways, I solved it by using onClientResourceStart and onClientResourceStop. lol i always use it to check that is the player is downloading maps or not it never detects whether player is downloading resources or not just try it once
Feche1320 Posted March 18, 2012 Author Posted March 18, 2012 Just do a simple test: setTimer( function() if isTransferBoxActive() then outputChatBox("Downloading..") else outputChatBox("Not downloading..") end end , 500, 0) While map transfer box is active Not downloading.. Not downloading.. Not downloading.. It doesn't work for map download box.
Feche1320 Posted March 18, 2012 Author Posted March 18, 2012 It works when you are downloading a resource, example: a music, texture, .dff, etc. but it doesn't work when downloading a MAP.
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