isPlayerSpawned

sbroker

Новичок
Автор темы
1
0
Версия MoonLoader
.026-beta
I need a function that checks whether the local player is currently spawned or not.

Код:
local function isPlayerSpawned()
    return isCharOnFoot(PLAYER_PED) or isCharInAnyCar(PLAYER_PED)
end

and

Код:
sampIsLocalPlayerSpawned()

don't work correctly, any advice or snippets would be helpful 😁
 

wojciech?

Известный
Проверенный
395
291