function checkPlayerByID(per)
for k, v in pairs(getAllChars()) do
if doesCharExist(v) then
local result, id = sampGetPlayerIdByCharHandle(v)
if id == tonumber(per) and result then
return true
end
end
end
return false
end
function checkPlayerByHandle(per)
for k, v in pairs(getAllChars()) do
if doesCharExist(v) then
if v == tonumber(per) then
return true
end
end
end
return false
end