igoriap Posted June 22, 2018 at 06:11 PM Share Posted June 22, 2018 at 06:11 PM (edited) Boas , alguem poderia me arrumar o contador de players online, que fica em baixo do mini mapa.. ? http://prntscr.com/jy5u9l Edited June 22, 2018 at 06:15 PM by igoriap imagem.. Link to comment Share on other sites More sharing options...
oserra Posted June 22, 2018 at 06:48 PM Share Posted June 22, 2018 at 06:48 PM (edited) Honestamente não te sei dizer como fazer isso a 100%, mas podes te basear no comando /w para obter os dados: Spoiler ACMD(do_who) { int iTotal; int * paiEmpireUserCount; int iLocal; DESC_MANAGER::instance().GetUserCount(iTotal, &paiEmpireUserCount, iLocal); ch->ChatPacket(CHAT_TYPE_INFO, "Total [%d] %d / %d / %d (this server %d)", iTotal, paiEmpireUserCount[1], paiEmpireUserCount[2], paiEmpireUserCount[3], iLocal); } Desculpa não saber ajudar mais, boa sorte. Abraço Edited June 22, 2018 at 06:49 PM by oserra Link to comment Share on other sites More sharing options...
AprendizM2 Posted June 23, 2018 at 09:25 PM Share Posted June 23, 2018 at 09:25 PM Sistema Mostrar Players Online.rar Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted August 6, 2018 at 03:04 PM Share Posted August 6, 2018 at 03:04 PM @igoriap O sistema apresentado era o pretendido? Link to comment Share on other sites More sharing options...
igoriap Posted August 9, 2018 at 04:30 PM Author Share Posted August 9, 2018 at 04:30 PM Resolvido! Link to comment Share on other sites More sharing options...
Recommended Posts