Hey ! If you make Music app, does it work with copyright ? ^^
Hey, the music app will use a config where you can put links to music files and the song data. This means that you can play any music you want, as long as you have a link to it. We will post a guide on how to upload custom music as well once the app is finished
Thatâs weird. We have updated the script again, and it works fine. If it still doesnât work, let us know.
Failed to verify protected resource⌠What should I do?
Update 1.0.3 is out!
Notifications
- Fixed a bug where custom notifications would not animate the phone opening up
Camera
- When flipping to selfie mode while taking a video, the camera will now do a smooth transition.
- New function
CanGoLive
inlb-phone/server/custom/functions/misc.lua
. You can use this function to block specific people from going live.
Messages
- You can no longer request $0
- You can no longer send a message to yourself
Tinder
- You are now allowed to have a name with the length of 25, up from the previous max of 15.
Other
- Added more debug prints so we can help you identify issues easier. If you need support, please send a screenshot of your debug prints from both your in-game F8 console and your server cmd / txAdmin console.
- Hopefully fixed the issue where unique phones did not work for some people.
This can be because of a few different reasons. Make sure you have up-to-date artifacts, that the account that your license key is on is the same that owns the asset on keymaster and that you have restarted the server after installing the resource. If all of this fails, it can be because of corrupt files. Try redownloading it from keymaster and if it still does not work, try clearing your cache.
This phone is amazing, and my community is loving it. The features, the UI, it runs incredibly smooth and on top of all that, they devâs are super responsive. 10/10 for functionality; 10/10 for design; 10/10 for customer service. An excellent colab between 2 guys that I have scripts from independently. Canât wait to see whatâs next.
I see it says i can modify the garage systems to support another garage system, does this support QS-Garage by chance? i been looking to replace that phone/garage system and wanted to know if i was going to also have to switch out to use the loaf garages
It should work with QS garages as long as they use the default functions & data to store vehicles. If it doesnât work, let me know and Iâll add it.
Update 1.0.4, 1.0.5 & 1.0.6 out now!
1.0.4 patch notes
Notifications
- Rewrote the entire notification system.
- Improved UI for notifications, better blur effect as well as matching colors.
- Notifications can now be swiped left on the lockscreen to be remvoed, or swiped up when the phone is unlocked to dismiss it.
- Rewrote notification stacks, it now looks better & theyâre animated.
- Clicking on a notification while the phone is unlocked will open the app the notification was triggered by.
Scale
- Phone scale is now auto based on your monitor size, so the phone wonât be small as default for people with 4K monitors.
Camera
- Fixed a bug where rotating your camera in selfie mode would rotate your vehicle
Animations
- When ending a call and closing the phone, the call animation is now going to be cancelled.
Messages
- You can now click on your own location to open it in maps.
Phone
- Going into favorites will no longer crash the phone.
- Clicking on a letter on the sidebar will no longer mess with the phoneâs margin.
- Fixed a bug where it wouldnât check if you had the phone item when receiving a call.
- Live feed is now being updated live.
Languages
- Added support for Thai
- Added support for Czech
Other
- You can now change between C and F units for weather, in
Settings -> General
- Set a max length for text in Yellow Pages app
- Set a max length for text in Marketplace app
- Increased max length for notifications.
1.0.5 patch notes
Unique Phones
- Added support for
qb-inventory
, thanks to @A5Scripts. To implement this, see https://docs.lbphone.com/phone/configuration#qb-inventory
Logs
- Added logs for bank transfers.
Other
- Made improvements to ESX loading.
- Closing the phone with
ESC
will no longer open the map. - Waiting for
ox_inventory
to load before triggering any functions This will most likely fix the error some of you had from ox inventory - Fixed a issue that caused a crash when scrolling down in Instagram recent dmâs list.
1.0.6 patch notes
Garage
- Added support for
cd_garage
, no need to edit anything, itâll automatically check what garage script you use.
Settings
- You can now factory reset your phone in
Settings -> General -> Reset
Calls
- Fixed a major bug where some people werenât able to receive calls if unique phones were enabled.
- Updated some minor things to the looks of the call UI.
Other
- Fixed a bug that would cause the phone to crash if you were to change ringtone.
- You can no longer scroll up to use the weapon wheel while using the phone.
- Fixed a bug that would remove the phone prop after hanging up a phone call.
- If you use
ox_inventory
, but unique phones are disabled, it will now useox_inventory
to check if you have a phone. - Fixed an error message that would crash the script if your inventory was empty and you were using ox_inventory.
- Other error fixes.
Update 1.0.7, 1.0.8 & 1.0.9 out now!
1.0.7 patch notes
Music
- New app, Music.
- Create playlists, artist profiles, albums & queue songs.
- Shareable playlists is coming very soon.
Previews
https://cdn.discordapp.com/attachments/635119915241832448/1041471314772369458/image.png
https://cdn.discordapp.com/attachments/635119915241832448/1041471371861033160/image.png
https://cdn.discordapp.com/attachments/635119915241832448/1041471403905532004/image.png
https://cdn.discordapp.com/attachments/635119915241832448/1041471458402119831/image.png
https://cdn.discordapp.com/attachments/635119915241832448/1041471477083541525/image.png
https://cdn.discordapp.com/attachments/635119915241832448/1041471923462348810/image.png
Garage
- Improved
cd_garage
compatibility.
Other
- Errors regarding
ESX.RegisterCommand
on extremely old ESX versions will no longer be shown. - Fixed a bug where if Slot 1 was empty on
qb-inventory
withConfig.Item.Unique
enabled you werenât able to utilize the phone. - Potentially fixed a bug where the camera would rotate when utilizing the selfie camera in Instagram Live, Video Calls & Video recording.
- You can no longer spam switch between selfie and normal camera mode.
1.0.8 patch notes
Custom Apps
- Weâve now made it possible for developers to make their own custom apps including UI.
- Use our built in components, like PopUpâs , ContextMenuâs , Image selectorâs and moreâŚ
- Get the phoneâs settings, to check if the phone has FlightMode and what Theme theyâre using, so you can customize them.
- Access the phoneâs locale files so you can have your custom apps translated.
Templates: GitHub - brezedc/lb-phone-app-template: App template for LB Phone | https://lbphone.com
Docs: Custom apps | LB Phone
Video: Custom APPS - YouTube
Locales
- Added support for Swedish
- Added support for Polish
- Added support for Hungarian
- Improved other locales, thanks to community commits.
Number Formatting
- New Config option, you can now choose the formation of the phone number.
Config.PhoneNumber.Format = "({3}) {3}-{4}"
- Wouldnât recommend changing this if you donât know what youâre doing.
Marketplace
- You can no longer contact yourself in the marketplace app.
- Fixed a bug that would cause the marketplace app to crash when utilizing the search feature.
Music
- Fixed a UI bug where it would look weird if the song title was too long.
- Fixed a rare bug that would cause the music app to crash.
Other
- Any setting change in the Control Centre will now be saved (brightness, volumeâŚ)
- You will no longer get notifications on your phone, after dropping it.
- Fixed a bug where it would throw SQL errors if you tried to post a yellow pages ad without a price.
- More minor bug fixes.
1.0.9 patch notes
- New app, Mail.
- Create multiple email addresses and send emails to others, with images.
- Weâve made exports to send system messages (with actions / buttons), as well as an export to create mail accounts (ex: for the police force).
- Check the docs for more info.
- You can now click on notifications in the Instagram app.
- Fixed a visual bug that would cause the Post button to be above the text when creating a new comment.
- Created a max character length for the Instagram profile bio.
Control Centre
- Added the music player in the Control Centre.
OX Core
- Support for
ox_core
has been added
Other
- Toggle input will now be triggered while being in a password field, in other words your character wonât move while being in a password field.
- Fixed a bug that would happen if you tried to install an app after filling one page (24 apps), itâll now create another page you can scroll to.
- You can now scroll while searching in the music app.
- Other minor UI improvements.
NOTE: the phone.sql
AND config.lua
files has been updated, youâll have to re-run the SQL and update the config.
Glad you enjoy it!
Is there a way to add a place to put urls for custom pictures?
If you want the ability to add any photos, set Config.AllowExternal
to true
help i forgot the password that i set
You will have to change it manually in the database. You need to use the FiveM native GetPasswordHash to get the hash of the new password
yeah but im on someone elses server
If you are wearing a mask and trying to open it, take your mask off. The face ID works like a charm. A player in my server was having a similar issue, and that fixed it.
Hey everyone
Been a while since we posted on the forums, the phone has received 9 updates since the last post! Here are the patch notes for them:
1.1.0 patch notes
Custom Apps
- Custom apps with UI doesnât need to be in the config anymore, weâve instead added an export
exports["lb-phone"]:AddCustomApp()
to add them, check the docs for more info. - We did this to make it easier for people to install others custom apps, you can now simply drag & drop a script to install an app.
Calling
- Rewrote the calling system.
- If you call someone from Yellow Pages or Marketplace, it will now show their name and avatar when calling, if you have them as a contact (Only showed the number before)
Garage
- Potential fix for
cd_garage
on ESX.
Other
- Cleaned up SQL queries to improve performance even more.
- Fixed a bug where blocked would always be set to
false
when going into a profile from the recent calls screen.
1.1.1 patch notes
Screenshots
- You can take a screenshot of your phone by going into the Control Center and pressing the screenshot button, the phone will then take a screenshot of your phone and save it to your gallery
- Made some changes to the photo app in order to support this feature.
Message Export
- Added an export to send system Messages through the Message app,
exports['lb-phone']:SendMessage()
, check the docs for more info.
Languages
- Support for Russian
- Support for Turkish
Key Input
- You can now use your keyboard to insert your passcode.
- You can also use your keyboard in the calculator app and the keypad in the phone app.
- Increased the max length for email addresses from 30 to 50 characters.
Company Calls
- Company calls now works again, accidentally broke it last update.
Spamming
- You can no longer spam message in any app, weâve set a limit to 1 message per 0.5s.
Other
- You can no longer access companies when creating a new message.
- UI Fixes on the Instagram app.
1.1.2 patch notes
Wallet
- Your balance is now being updated on the UI automatically when sending / receiving a transaction.
- Fixed a bug where you couldnât send money to numbers with another character length than your own number.
- Fixed âInvalid Dateâ when sending a new transaction.
- The placeholder phone number is now using the correct number length as well as the correct formatting method.
- Added error messages when trying to send money to a number that doesnât exist.
Keybinds
- Added the following keybinds:
Accept Call (ENTER)
Deny Call (BACKSPACE)
Take Photo (ENTER)
Flip Camera (UP)
Toggle Flash(E)
Change Mode Left (LEFT)
Change Mode Right (RIGHT)
These are all configurable in the config.lua
and ingame.
- Re-structured the keybinds in the config, should now be clearer.
Exports
- Export to disable the phone
exports['lb-phone']:ToggleDisabled()
- Export to get the active mail address from a phone number (The mail the person is logged into)
exports['lb-phone']:GetEmailAddress()
Phone
- Fixed a bug where you couldnât save a phone number with over 10 characters.
- Fixed a bug that wouldnât let you insert more than 10 numbers in the keypad.
Messages
- You can now quick save a number to your contacts from group chats, by pressing the group info, and the blue information circle on the number.
Locales
- Added support for Arabic.
- Other improvements to locales.
Custom Apps
- Fixed a bug where you couldnât scroll on certain websites that handled overflow in a special way.
Other
- If you have failed to setup the API keys & trying to upload images, itâll now mention it.
- Fixed a bug where calls sometimes wouldnât end correctly on â â â â â â â â â .
- Fixed a bug where flash was disabled the first few frames when recording a video.
- You no longer need to click the Home Indicator twice when setting up the phone in the very first stage.
1.1.3 patch notes
Camera
- Fixed the selfie camera
- Added more options to the Help text.
- Help text is no longer shown in the first frame in videos.
Messages
- Config option to remove messages,
Config.DeleteMessages
, hold on a message to get options to remove it. - Exports to send locations & money.
exports["lb-phone"]:SentMoney()
exports["lb-phone"]:SendCoords()
Clock
- Option to use the players local time instead of the ingame time, toggle
RealTime
. Itâs set to use the serverâs time by default. - 12 Hour clock setting now works with server time.
Currency
- You can now set & format the currency symbols everywhere by changing
Config.CurrencyFormat
in the config.lua, default value is â$%sâ
Calling
- When you get a call while your phone is down, it wonât open the phone fully anymore, instead itâll pop up like a notification, with the call banner.
- You no longer get unarmed when receiving a call.
- UI Improvements
Components
- You can now use components via exports (PopUps, Contextmenuâs etc)
exports["lb-phone"]:SetPopUp()
exports["lb-phone"]:SetContextMenu()
exports["lb-phone"]:ShowComponent()
Garage
- You can now ping your vehicles to get their current location again.
- Added more notifications when performing actions.
Job Restrictions
- You can now Whitelist & Blacklist jobs from accessing specific apps, edit
Config.WhitelistApps
andConfig.BlacklistApps
in the config.lua
Photos app
- Re-designed the photos app, fixed some minor UI bugs & images are now being displayed better, same with screenshots.
Exports
-
exports["lb-phone"]:DisablePhone()
Should now work.
Translations
- All apps now officially supports the usage of locales
Ice Servers
- You can now run Video calls & Instagram Lives over Ice servers.
Other
- You can now scroll in the âKeysâ section in the Home app
- Scaling should now be good on ultrawide monitors.
- If you donât have any pictures while being in the gallery component, itâll now display that you need to take some, in order to avoid confusion.
- Minor UI fixes for tinder sign up screen.
- Optimized the use of locales, itâs now 6x faster!
1.1.4 patch notes
Battery
- Battery can now be enabled in the config.lua, enable
Config.Battery.Enabled
- Disabled via default. - You can configure pretty much everything, how long time it takes to charge, battery usage etc.
- Added Low Power Mode, that will make the battery last longer.
- You control the charging of the phone yourself, with exports, check docs & below.
- You get notifications when your battery gets to 20 & 10%
Exports & Events
exports["lb-phone"]:SetBattery()
exports["lb-phone"]:GetBattery()
exports["lb-phone"]:ToggleCharging()
exports["lb-phone"]:IsCharging()
exports["lb-phone"]:IsPhoneDead()
-
lb-phone:phoneDied
- Client event.
Locales
- Added several missing locales to the locale files, theyâll need to be updated by our contributors.
- Fixed a bug where the defaultlocale would be undefined, so some âKEYâ values would be shown.
Garage
- The vehicle label is now shown, instead of the prior vehicle value.
Components
- New arguments for the PopUp component.
-
Bold
on a button, to toggle bold text. -
Vertical
, to align the buttons vertically.
Other
- Fixed a bug where swiping between images in the Marketplace & Instagram app would cause weird movement & in some situations crash the phone.
- When flipping the camera to selfie, and then changing to video, the camera will no longer be offsetted.
- Minor UI improvements.
1.1.5 patch notes
Voice Messages
- Implemented voice messages, click to record and talk in game while pressing your push to talk button.
- You can now enable notifications for tweets on a specific profile, by going to their profile and clicking on the bell
Locales
- Implemented usage of locales in the
Lua
code, ex: Camera tooltips, notifications, etc. - Updated more locales.
Appstore
- Appstore has been rewritten completely.
- No more bugs with double apps, flickering buttons etc should appear.
DarkChat
- Enabled notifications on Darkchat.
- DarkChat now looks good when on light mode.
Notifications
- Increased the maximum length on notifications from 25 to 75
- Notifications can now have a higher height.
- App specific notifications, you can set different sounds for different apps, check the docs for more info.
- Re-defined how ringtones were defined.
- Ringtones, notifications and other sound files can now be in any format, not only
.mp3
Marketplace
- Implemented dark mode for marketplace.
Other
- When dialing a number in the keypad and you have that number saved in your contacts, itâll now say their name instead of Add to contacts , and clicking on it will open up the contact.
-
base64
images can no longer be sent withConfig.External
enabled. - Declining / Accepting a call with quick binds while not having the focus on will now close the phone.
- Battery icon looks good on light mode.
- The control center can now longer be accessed in the setup screen.
1.1.6 patch notes
Services
- New app, Services
- View all the companies, and their status (Open / Closed)
- Call, Message or view the location of the company in the list.
- Toggle your duty, and if youâre a boss; Hire, Fire, Handle Money & moreâŚ
Exports
- The
SendMail()
export now returns the mail id.
Messages
- Avatar images is now limited on big groups (Limited to 6 avatars)
- Message send button is back.
- Limit username & name length in the UI
Music
- Fixed a error related to
Cover
that was being thrown if the config was setup incorrectly.
QB
- Adapted the phone for the QB Logout function, should now update the phone correctly to the new character.
Locales
- Updated locales for the new update.
Other
- Tweets doesnât overlap the footer on profiles with long bios anymore.
- Error about
data
caused by TxAdmin is now fixed. - Support for Darkmode in setupscreen first stage
- Plenty of other bug fixes.
1.1.7 patch notes
Services
- You can now scroll in the Home & Actions screen.
- Services are now sorted by open.
- When calling a company, itâll display the company label instead of the value, and look way better.
- Exports for sending coords and messages, check docs.
- Fixed the formatting when sending a location.
- Fixed a bug that would cause no sound to be heard when calling a company from the Services app
Maps
- Updated maps, you can now save locations and manage them in the maps app.
Messages
- When a user has a missing call as the first message, it wonât say âSent a imageâ anymore
- You can now rename groupchats.
- Instagram Stories , Upload multiple images / videos to your story, and watch others!
- You can now click on a user in any comment feed to go to their profile
- Improved scrolling
- You can now promote a tweet , configure the price per view in the
config.lua
- Fixed the location of the Twitter sign out button on other locales.
- Fixed a bug that would cause the timestamp to be wrong when the server and client time isnât synced when sending a new tweet.
- UI Improvements
Settings
- Notifications tab is now using the translated names of each app.
- Fixed a bug when you would go into Storage / Language & Region and then go back.
Wallet
- Wallet notifications will not end with
.00
anymore, since it messed up with other currencies. - Formatted the balance ex:
50000
is now50,000
Locales
- Updated new and missing locales.
- UI fixes and improvements
Notes
- Fixed the footer, the styling got messed up in the last update.
Other
- Framework required apps are now being disabled when you donât have a supported framework.
- Fixed a error when trying to use the
SendCoords
export directly afterSendMessage
on a new channel, without waiting for the first to be completed. - UI Improvements.
- Fixed several errors.
1.1.8 patch notes
Dynamic Island - BETA
- Implemented the iPhone 14 Pro Inspired Dynamic island.
- Music & calling is using the island as of right now, more apps are going to be integrated in the future.
- Note that this is a beta feature and bugs may occur.
- This can be toggled in the config,
Config.DynamicIsland
Screen capture - 53568c3bac9377314c94ec2fdca93961 - Gyazo
Phone Frame
- Remade the phone frame, the frame is no longer an image, instead implemented into the UI.
- Side buttons work, so you can manage the volume & turn off the phone.
- Added an IOS 16 Inspired volume controller.
Screen capture - 8396ae27f9db4d8dfb0308bb6f4916a4 - Gyazo
UI
- Re-designed the Music player on the lock screen to match the new phone UI.
Home-screen
- You can now re-organize and drag apps, changing the app positions and creating new pages.
- Re-designed the page navigators
Services
- You can now configure the entire action page,
Config.Companies.Management
- If Config.Companies.Enabled is set to false, the call icon will now be hidden.
- Actions is now scrollable missed something last update
- You can now pin tweets to your profile, by pressing the 3 dots and choosing âPinâ`
- You can no longer dm yourself.
- Fixed a bug where the âLiked Byâ page wouldnât work.
- Instagram logo in dark-mode on the Sign-in screen now looks better.
- Fixed the formatting of phone numbers in DM.
Wallet
- Fixed a bug where recent transactions would return
NaN
Exports
- New export,
exports["lb-phone"]:GetAirplaneMode()
Custom Apps
- More arguments when registering a custom app (
developer
,size
&defaultApp
) Check the docs for more info.
AirDrop
- The status of the AirDrop will now update, to either Declined / Accepted .
- Added debug prints for AirDrop to locate issues.
Calling
- Fixed several bugs with calling.
Other
- Optimized UI performance.
- Added 4 new IOS 16 backgrounds.
- Changed default background.
- The volume of overall sounds has been reduced, thanks Jeay
- Included an inventory item picture.
- Updated locales.
Very cool phone, good job. I will definitely buy it soon. Please make script, that will show online player or not, this is a very useful feature for RP servers. Letâs say if the player is online, then there was a green circle to the right of the contact, or red if not online.
learn the education with customers who pay