Main/resources/[housing]/qs-housing/server/custom/phone/qs-smartphone.lua
2025-06-09 23:54:46 +02:00

11 lines
281 B
Lua

if Config.Phone ~= 'qs-smartphone' then
return
end
function GetPlayerPhone(source)
local player = GetPlayerFromId(source)
if Config.Framework == 'qb' then
return player.PlayerData.charinfo.phone
end
return exports['qs-base']:GetPlayerPhone(source)
end