08.01.2019, 10:29
I think (but i'm, not sure), that if you will use this function in OnPlayerDisconnect, it can be = underfined.
Test it.
But the best way to write it into global variable in OnPlayerEnterVehicle/OnPlayerExitVehicle/OnPlayerStateChange.
And you can do with this variable in OnPlayerDisconnect what you want.
Test it.
But the best way to write it into global variable in OnPlayerEnterVehicle/OnPlayerExitVehicle/OnPlayerStateChange.
And you can do with this variable in OnPlayerDisconnect what you want.