1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-28 21:08:22 +02:00
Rampant/libs/PlayerUtils.lua
2021-11-23 19:45:28 -08:00

22 lines
371 B
Lua

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