Should we continue using OnPlayerInit or replace that with OnPlayerConnected??
Updating for hook deprecation?Solved
That is entirely up to you, but eventually OnPlayerInit will no longer be used and removed; so replacement is suggested.
Just replace the method name? Variables are the same kind?
Same for OnPlayerDie?
Same for OnPlayerDie?
Yes and yes.
Ok, so how can we differentiate when a player connects, a player is accepted to continue joining and a player is fully loaded and read to spawn with these new changes?
The same way you did before. OnPlayerInit was essentially the same as OnPlayerConnected.HerroOk, so how can we differentiate when a player connects, a player is accepted to continue joining and a player is fully loaded and read to spawn with these new changes?
OnUserApprove > OnPlayerConnected
Vs.
OnUserApprove > OnPlayerInit/OnPlayerConnected
Wulf
That is entirely up to you, but eventually OnPlayerInit will no longer be used and removed; so replacement is suggested.
LEGEND
Locked automatically