Is there phone script for Samsung and Google Pixel phones? I’d be great thnx!!
is this still working
Oh my god, you are a first-class liar. You say your code is fully open source, when in the assets section everything is encrypted, is that what you call open source? What are you hiding inside each code that is encrypted, both in the assets js files and in the rest of the files in that section? Do you think we are stupid or what? Please revert the encryption, otherwise I will report the script for misinforming people or using untrue information to promote your fivem script. It doesn’t matter if it’s free or paid. Everything you say and do must be as you communicate it. Do not try to promote something that is not in the way you report or describe in your post on the fivem forum.
it’s important to know the code in fivem and how a resource works to protect your mouth!
z-phone/web at main · alfaben12/z-phone · GitHub what you see is the build result even your mom can’t read the code you screenshot, see the link I sent is the original code for UI, I’m not sure you can read it even though it’s open source.
I’ve tried to use this but when i’ve added it , it says Phone - You don’t have a phone when one is in my inventory. Can you provide and help to this. there is no error in my server log or on the F8 Log
Thanks
I know what is open source as well as a compilation this is not open source and the web section does not lead anywhere in case you did not notice look at the fxmanifest.lua which has the function of making the server read the contents of the resource folder that is the files that the server of said resource must read said files of the web folder are not inside the code of the fxmanifest.lua only the so-called html folder where these files are encrypted in case you do not know the only one without encryption is the index.html The next time you hesitate I will report you for lack of respect knowing that there are rules in the forum in those rules the insults are punishable in case you don’t know it. Next time don’t disrespect me, I don’t disrespect you, bye
just say that you don’t understand how to use that resource lol, you don’t even know the difference between minify and encrypt so sad script k*ddie XD
will there be a standalone version?
aint that bit more tricky? standalone
Which voice system does the phone use?
any one help me with this error 1SCRIPT ERROR: @z-phone/client/main.lua:69: attempt to index a nil value (global 'lib
can anyone fix this
![]()
When I use camera in ESX
If you want to see what’s written in that file, use Prettier - Code formatter in VSCode and see how to use it, then you can see what’s in the code.
This is really cool! Thank you for making an ESX version I can’t wait to try it.
html/static/config.json
local frontCam = false
local function SaveToInternalGallery()
BeginTakeHighQualityPhoto()
SaveHighQualityPhoto(0)
FreeMemoryForHighQualityPhoto()
end
local function CellFrontCamActivate(activate)
return Citizen.InvokeNative(0x2491A93618B7D838, activate)
end
RegisterNUICallback(‘TakePhoto’, function(_, cb)
SetNuiFocus(false, false)
CreateMobilePhone(1)
CellCamActivate(true, true)
local takePhoto = true
while takePhoto do
if IsControlJustPressed(1, 27) then
frontCam = not frontCam
CellFrontCamActivate(frontCam)
elseif IsControlJustPressed(1, 177) then
DestroyMobilePhone()
CellCamActivate(false, false)
cb(nil)
break
elseif IsControlJustPressed(1, 176) then
lib.callback(‘z-phone:server:GetWebhook’, false, function(hook)
if not hook then
xCore.Notify(‘Camera not setup’, ‘error’, 3000)
return
end
local webhookURL = ‘Your discord webhook’
exports[‘screenshot-basic’]:requestScreenshotUpload(webhookURL, ‘files’, function(data)
SaveToInternalGallery()
local image = json.decode(data)
DestroyMobilePhone()
CellCamActivate(false, false)
cb(image.attachments[1].proxy_url)
takePhoto = false
end)
end)
end
HideHudComponentThisFrame(7)
HideHudComponentThisFrame(8)
HideHudComponentThisFrame(9)
HideHudComponentThisFrame(6)
HideHudComponentThisFrame(19)
HideHudAndRadarThisFrame()
EnableAllControlActions(0)
Wait(0)
end
Wait(1000)
SetNuiFocus(true, true)
if not PhoneData.CallData.InCall then
DoPhoneAnimation(‘cellphone_text_in’)
else
DoPhoneAnimation(‘cellphone_call_to_text’)
end
end)
Place this in client/feature/camera.lua
and set your dc wenhook
I appreciate the help man
Thanks for help
how to enable preview when developing with src ? without going to game?

