it worked, thanks!Remove the file extension and I think it'll work c
waitingroom "PvP[" + getmapusers("guild_vs3") + "/30]",0;
OnInit: waitingroom "PvP[" + getmapusers("guild_vs3") + "/30]",0; while(1) { delwaitingroom strnpcinfo(3); waitingroom "PvP[" + getmapusers("guild_vs3") + "/30]",0; sleep 1000; //Update rate (ms) } end;
its not working the pub is always [0/30]You could use instead of this loop a initnpctimer and a label, but I think it's simpler this way:
OnInit: waitingroom "PvP[" + getmapusers("guild_vs3") + "/30]",0; while(1) { delwaitingroom strnpcinfo(3); waitingroom "PvP[" + getmapusers("guild_vs3") + "/30]",0; sleep 1000; //Update rate (ms) } end;Haven't tested it, but I hope it works c:
for got edit some line, its working now, does the sleep part really needed? because sometimes its giving the wrong numbersI just tested this code in Hercules' last revision and it's working fine, have you altered anything in it? You could post the snippet that you are using c:
We use essential cookies to make this site work, and optional cookies to enhance your experience.