1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-30 21:19:46 +02:00
Rampant/libs/PlayerUtils.lua
2021-02-19 23:31:36 -08:00

22 lines
371 B
Lua
Executable File

if playerUtilsG then
return playerUtilsG
end
local playerUtils = {}
-- imports
-- imported functions
-- module code
function playerUtils.validPlayer(player)
if player and player.valid then
local char = player.character
return char and char.valid
end
return false
end
playerUtilsG = playerUtils
return playerUtils