Quote:
Originally Posted by napalm00
I am not completely sure about this, but try delaying the above code by using a timer. A time of 100msecs (0.1 seconds) should be enough.
|
I had wondered about that, but I was keen on achieving everything with as little asynchronism as possible because there's potential for miscalculations to be made on the player numbers within that 0.1 second period.
As it happens, it looks as though the "jointeam" listener may be enough, as I'm saving some data about players in global variables and I think I can check them in the listener instead of the client's team. Thanks for all the help.