21.05.2014, 22:04
Quote:
Hm.. This callback is interesting, I'll try to do it
![]() You do not need to reset player gravity both when player connect or disconnect. If player connect, then player gravity will be change for server gravity. If disconnect, then player will be removed from plugin so it doesn't matter. |
As well that function is under OnPlayerDisconnect because it would look bad if player sticked objects would stay after they quit the game.
Question:
What does IsPlayerConnected return under OnPlayerDisconnect?