Fix spawn check util

This commit is contained in:
Vortrex
2021-03-30 21:48:31 -05:00
parent 15321c97f1
commit b77a69aac9

View File

@@ -121,7 +121,7 @@ function getPlayerVehicleSeat(client) {
// ===========================================================================
function isPlayerSpawned(client) {
return (client.player != null);
return client.player.isType(ELEMENT_PLAYER);
}
// ===========================================================================