housing und dj

This commit is contained in:
Nordi98 2025-06-09 23:54:46 +02:00
parent 112c7b1761
commit 10a5d168d4
731 changed files with 506993 additions and 0 deletions

View file

@ -0,0 +1,22 @@
if Config.Phone ~= 'default' then
return
end
function GetPlayerPhone(source)
local player = GetPlayerFromId(source)
if Config.Framework == 'qb' then
return player.PlayerData.charinfo.phone
end
local identifier = player.identifier
local result = MySQL.Sync.fetchAll('SELECT phone_number FROM users WHERE identifier = ?', {
identifier
})
if not result[1] then
print('Your phone is nil')
return ''
end
return result[1].phone_number
end