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. www.host-ar.com.ar
-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. www.host-ar.com.ar
-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
drk Posted March 18, 2012 Posted March 18, 2012 A map is basically a resource too. EPT Team Server Development: 0% Learning C++ | C++ is amazing
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. www.host-ar.com.ar
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. www.host-ar.com.ar
Kenix Posted March 18, 2012 Posted March 18, 2012 Report about it in bug tracker. http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
Cadu12 Posted March 18, 2012 Posted March 18, 2012 Feche1320, it works at all, map too. Ingame nick: Cadu12
Feche1320 Posted March 18, 2012 Author Posted March 18, 2012 Then it never worked for me. www.host-ar.com.ar
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