How to update players, score and serverinfo?

Topics: Admin Tool, Developers
Jan 10, 2012 at 11:51 AM
Edited Jan 10, 2012 at 11:52 AM

Hi all,


I'm unsure how to update players, playerscore and serverinfo?


When I get a "Kill" event, the scores are not updated. I tried SendAsynchronousRequest("admin.ListPlayers"), but players/score is not updated here neither.


How should I update above info?





Ps. would be cool if there were an "SetPlayerUpdateTimerInterval" and "SetServerInfoTimerInterval" and then two timers would handle the updating ... and then two events ... "PlayerUpdated" and "ServerInfoUpdated" :)

Jan 10, 2012 at 8:37 PM

Ow wait ... it do seam to update it ... my bad. 

I forgot it was threadning, so when I Invoked on main thread, it worked.