mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Fix(Client): Fixed what rocky broke
This commit is contained in:
1 parent
c5e750c6b2
commit
0312d2c4a6
2 files changed
+14
-4
No files matched your search
@@ -6,6 +6,17 @@ Citizen.CreateThread(function()
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('phone:close', function(source, args, rawCommand)
|
||||
SendNUIMessage( -- Hides phone
|
||||
{
|
||||
app = 'PHONE',
|
||||
method = 'setVisibility',
|
||||
data = false
|
||||
}
|
||||
)
|
||||
SetNuiFocus(false, false)
|
||||
end)
|
||||
-----
|
||||
--END OF ESX
|
||||
-----
|
||||
@@ -31,6 +42,7 @@ Citizen.CreateThread(function()
|
||||
}
|
||||
)
|
||||
SetNuiFocus(true, true)
|
||||
TriggerServerEvent('phone:getCredentials', source)
|
||||
elseif isPhoneOpen == true then
|
||||
isPhoneOpen = false
|
||||
print(Config.KeyTogglePhone) --Left for testing purposes.
|
||||
|
||||
Reference in new issue
Block a user