Takuyakii Posted October 9, 2019 Posted October 9, 2019 Hello, i having a problem about the getmapuser waitingroom. the problem is, everytime i entered on the map with getmapuser it will not count on, i have to use @reloadscript to update the user on waiting room. so my problem is how i can fix this so to be updated once entered and once exit Quote OnInit: delwaitingroom; waitingroom "PvP Arena ["+getmapusers("pvproom")+"]",0; end; } And also im using the DotaPVP Script Quote
0 Emistry Posted October 9, 2019 Posted October 9, 2019 there are several ways to do it ... one of the most common way .. OnInit: OnTimer1000: delwaitingroom; waitingroom "PvP Arena ["+getmapusers("pvproom")+"]",0; initnpctimer; end; 1 Quote
1 Haruka Mayumi Posted October 9, 2019 Posted October 9, 2019 OnInit: while(1){ delwaitingroom; waitingroom "PvP Arena ["+getmapusers("pvproom")+"]",0; sleep 1000; } end; Here's another way. if ever you are already using timer on your script. ^_~ Quote
0 Takuyakii Posted October 9, 2019 Author Posted October 9, 2019 6 hours ago, Emistry said: there are several ways to do it ... one of the most common way .. OnInit: OnTimer1000: delwaitingroom; waitingroom "PvP Arena ["+getmapusers("pvproom")+"]",0; initnpctimer; end; Thanks for this ! It Works. Quote
Question
Takuyakii
Hello, i having a problem about the getmapuser waitingroom.
the problem is, everytime i entered on the map with getmapuser it will not count on,
i have to use @reloadscript to update the user on waiting room.
so my problem is how i can fix this so to be updated once entered and once exit
And also im using the DotaPVP Script
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.