Feat(Phone): Attaching prop in hand

This commit is contained in:
chip committed 2020-09-07 22:59:34 +02:00
1 parent d8ee5af1a0
commit eae8d317bd
14 files changed
+179 -67

No files matched your search

+7
View File
@@ -22,4 +22,11 @@ AddEventHandler('phone:getCredentials', function()
TriggerClientEvent('phone:sendCredentials', _source, number)
end)
TriggerClientEvent('phone:send', _source)
end)
RegisterCommand('getnumber', function(source, args)
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
local _identifier = xPlayer.getIdentifier()
print(_identifier)
end)