Reducto Posted July 25, 2014 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Share Posted July 25, 2014 Hello, Can anybody help me count user in multiple map and out put it in a chatbox? Example: "0 Player in PVP" Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 25, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 12 hours ago Share Posted July 25, 2014 waitingroom getmapusers( "map" )+" Player in PVP",0; Quote Link to comment Share on other sites More sharing options...
rans Posted July 25, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 429 Reputation: 60 Joined: 08/19/12 Last Seen: Tuesday at 02:33 PM Share Posted July 25, 2014 Hello, Can anybody help me count user in multiple map and out put it in a chatbox? Example: "0 Player in PVP" Add this to npc OnInit: while(1) { delwaitingroom; waitingroom " [ "+ getmapusers("pvp_y_1-2")+" ]-map1 [ "+ getmapusers("pvp_y_2-2")+" ]-map2 ",0; sleep 500; // time in ms - to update. } Quote Link to comment Share on other sites More sharing options...
Question
Reducto
Hello,
Can anybody help me count user in multiple map and out put it in a chatbox?
Example:
"0 Player in PVP"
Link to comment
Share on other sites
2 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.