Feche1320 Posted March 18, 2012 Share Posted March 18, 2012 How could I check if a player is downloading a map? isTransferBoxActive doesn't work for when downloading maps. Link to comment
-RoCk-Alex Posted March 18, 2012 Share 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 Link to comment
Feche1320 Posted March 18, 2012 Author Share 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. Link to comment
-RoCk-Alex Posted March 18, 2012 Share 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 Link to comment
drk Posted March 18, 2012 Share Posted March 18, 2012 A map is basically a resource too. Link to comment
Feche1320 Posted March 18, 2012 Author Share 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. Link to comment
Cadu12 Posted March 18, 2012 Share Posted March 18, 2012 It works for me, client-side. Link to comment
Feche1320 Posted March 18, 2012 Author Share 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. Link to comment
Kenix Posted March 18, 2012 Share Posted March 18, 2012 Report about it in bug tracker. Link to comment
Cadu12 Posted March 18, 2012 Share Posted March 18, 2012 Feche1320, it works at all, map too. Link to comment
Feche1320 Posted March 18, 2012 Author Share Posted March 18, 2012 Then it never worked for me. Link to comment
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