mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Fix(Credentials): Argument fix
This commit is contained in:
1 parent
e4c592d774
commit
9e8442491b
2 files changed
+11
-9
No files matched your search
@@ -12,6 +12,11 @@ end)
|
||||
--end, false)
|
||||
|
||||
RegisterCommand('phone:open', function(source, args, rawCommand)
|
||||
TriggerServerEvent('phone:server:getCredentials')
|
||||
end, false)
|
||||
|
||||
RegisterNetEvent('phone:client:send')
|
||||
AddEventHandler('phone:client:send', function()
|
||||
SendNUIMessage(
|
||||
{
|
||||
app = 'PHONE',
|
||||
@@ -20,8 +25,7 @@ RegisterCommand('phone:open', function(source, args, rawCommand)
|
||||
}
|
||||
)
|
||||
SetNuiFocus(true, true)
|
||||
end, false)
|
||||
|
||||
end)
|
||||
|
||||
RegisterCommand('phone:hide', function(source, args, rawCommand)
|
||||
SendNUIMessage(
|
||||
@@ -36,7 +40,7 @@ end, false)
|
||||
|
||||
RegisterNetEvent('phone:client:sendCredentials')
|
||||
AddEventHandler('phone:client:sendCredentials', function(number)
|
||||
print("My number is " .. number)
|
||||
print(number)
|
||||
SendNUIMessage(
|
||||
{
|
||||
app = "SIMCARD",
|
||||
|
||||
Reference in new issue
Block a user