Jump to content
  • 0

Waiting room getmapuser


Takuyakii

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.02
  • Content Count:  206
  • Reputation:   10
  • Joined:  08/30/19
  • Last Seen:  

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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

there are several ways to do it ... one of the most common way ..

OnInit:
OnTimer1000:
    delwaitingroom;
    waitingroom "PvP Arena ["+getmapusers("pvproom")+"]",0;
	initnpctimer;
    end;

 

  • Love 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

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. ^_~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.02
  • Content Count:  206
  • Reputation:   10
  • Joined:  08/30/19
  • Last Seen:  

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...