GetPlayerPoolSize under OnPlayerConnect
#1

Hello,
i updated all the loops in my gamemode to the new GetPlayerPoolSize variant.
I use OnPlayerConnect to save the GetPlayerPoolSize into a variable.
But i noticed that PlayerPoolSize isnt always updated unter OnPlayerConnect.
Is this a bug or does this function simply not work in this callback?
Reply
#2

It gets the highest playerid currently in use, not the total amount of players.
Reply
#3

Yes i know.
I tested it with two players on the server. But under OnPlayerConnect GetPlayerPoolSize still says 0 is the highest playerid.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)