qbcore-framework / qb-phone Goto Github PK
View Code? Open in Web Editor NEWPhone Used With QB-Core :iphone:
License: GNU General Public License v3.0
Phone Used With QB-Core :iphone:
License: GNU General Public License v3.0
Change from SahredConfig.lua
to config.lua
(qb-garage) changed name file
hello , my email is not showing the date, but in SQL there is data, can anyone tell me what is the error?
https://imgur.com/vP3AMTZ
https://imgur.com/y5O04R8
Hello,
Whatsapp app, when the player doesn't have somebody in the contacts, can't receive messages.
So for some days ago the phone worked 100#, But know i have one issue that i cant hang On to people cant cancel the phonecall. And i cant hear them to please fix this
A Application on the Phone to Manage "your" company. Example: Manage the staff as a police chief, etc.
local NumberKey = GetKeyByNumber(SenderNumber) returns a nil which is used in a table
PhoneData.Chats[NumberKey] = {
name = IsNumberInContacts(SenderNumber),
number = SenderNumber,
messages = ChatMessages
}
SCRIPT ERROR: @qb-phone/client/main.lua:627: table index is nil
The reason is that some people may use the phone in a negative way
cursing
racism
It should be a place to edit words
hello
When is the official release of this version?
https://github.com/qbcore-framework/qb-phone/tree/dev
We need the camera and Twitter and send pictures
But we hope it will be official soon
And I hope to add a new feature because I am very tired trying to add it
This feature works and the application appears in the phone when the item is inside the player's inv
["blackmarket"] = {
app = "blackmarket",
color = "#26d4ce",
icon = "fas fa-user-tie",
tooltipText = "blackmarket",
tooltipPos = "bottom",
item = "lockpick", -- change this
job = false,
blockedjobs = {},
slot = 15,
Alerts = 0,
},
When you get a list of cars for recycle job, you cannot read the full list as the mail app has no scroll bar. At the moment we have to limit the list of cars to fit and update/change it each week for players.
script:oxmysql] Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read, button) VALUES ('YLJ95271', 'Pillbox', 'Hospital Faktura', 'Kære Mr. Garc' at line 1 INSERT INTO player_mails (citizenid, sender, subject, message, mailid, read, button) VALUES (?, ?, ?, ?, ?, ?, ?) [
[ script:oxmysql] "YLJ95271",
[ script:oxmysql] "Pillbox",
[ script:oxmysql] "Hospital Faktura",
[ script:oxmysql] "Kære Mr. Garcia,
Herved modtog du en e-mail med omkostningerne ved det sidste hospitalsbesøg.
De endelige omkostninger er: kr2000
Vi ønsker dig god bedring!",
[ script:oxmysql] 876790,
[ script:oxmysql] 0,
[ script:oxmysql] "[]"
[ script:oxmysql] ]
Gallery - https://gyazo.com/16de2476055b097a3e659ddfca069449
photos.json - https://gyazo.com/fa423431dc52962598131b4a4466e8bd
As seen from the images from testing the dev branch once a photo is cancelled and not taken it adds a blank url and within the gallery the delete function does not work on these blank "images"
Still to test cancelling photo functions in; Whatsapp, Twitter and Ad's but I assume a similar issue will occur
Hello
I wanted to add some suggestions for the phone.
For the garage add tracking for the vehicles.
New app:
Job management:
This thing is full of exploits, no inputs are sanitized, tons of opertunity for xss
Hi
If you can add JobCenter to your phone
It looks attractive
Thank you for all your efforts
Critical phone Error - causing apps not to show up and the phone to work.
Error reads
script:qb-phone:nui Uncaught TypeError: Cannot read property ‘tooltiptext’ of undefined (qb-phone/html/jss/app.js:224)
How does one fix this
Would you be able to make sure the mechanics, lawyers and taxi people are not displayed in the call list of said jobs?
when we do /bill, it does say that the invoice has been send and a new bill received, but it doesn't show under the invoices tab on the phone.
(no errors visible) (updated SQL)
it works for some people and it doesn't for some
downloaded the latest phone and deleted cache. kindly check into this, thankyou
Make config option for services. If someone select in config this option then - Services app is going to show that there's someone on duty of that job. If there aren't anyone - writes that it's unavailable, if there are then u can call to that job but not to employee. Call is going to be in somewhere of selected location that can answer any that job employee. Because if there are criminalist or other officers that want to hide from civilians - they couldnt. If u want to call ambulance - IRL call wont be going to someone specific. /911 command would disappear because of it. And it's going to be nice.
Hello why not work here download the apps you need
It works on early versions
qb-core line 101
PlayerData.metadata["phonedata"] = PlayerData.metadata["phonedata"] ~= nil and PlayerData.metadata["phonedata"] or {
SerialNumber = QBCore.Player.CreateSerialNumber(),
InstalledApps = {},
It will be a great feature when it is activated
Before moving to this project, this feature was present in other previous versions
["store"] = {
app = "store",
color = "#27ae60",
icon = "fas fa-cart-arrow-down",
tooltipText = "App Store",
tooltipPos = "right",
style = "padding-right: .3vh; font-size: 2.2vh";
job = false,
blockedjobs = {},
slot = 14,
Alerts = 0,
},
I tried to mention myself in a Tweet, but it didn't show up in the mentions tab of the Twitter.
Is it possible to add the same notifications to an example
When to make a connection?
Because when the call is made, it shows the traditional form of the notification
The best thing is to add the notification to all notifications
And replace the old notice
With new notifications, the phone is out
I hope that
Thank you
Phone is not displaying the starter apartment keys.
Can anyone help me with this error. Everything is way up to date latest version of QB. And server artifact files to the latest version. We have never had this problem once restarted the server multiple times no issues and then last night the server restarted and bam errors. I’ve checked all the scripting and everything is there as a registered event… (the export) but how did this happen after a week of no issues then all of sudden one restart and this happened nothing was added script wise or touched (phone and police scripts)
When you do /bill and send an invoice to them it will let you but the other person will not be able to see that invoice unless qb-phone is restarted
It will be more handy if the invoice can be paid if the biller is offline but biller can get paid the bill if need example
qb-occasion send car money if seller is offline
Police Panic button and other alerts not showing in phone
this phone_tweets in database not using
if person is not in your contact list you cant message him, when you send message he doesnt see the message and notification.
[Expected] Posting a tweet
[Actual] Stops phone from being re-opened
https://gyazo.com/5e0f5d7809586df101646e6fb408f61a
RegisterServerEvent('police:server:CheckBills')
AddEventHandler('police:server:CheckBills', function()
local src = source
local Player = QBCore.Functions.GetPlayer(src)
exports.ghmattimysql:execute('SELECT * FROM bills WHERE citizenid=@citizenid AND type=@type', {['@citizenid'] = Player.PlayerData.citizenid, ['@type'] = 'police'}, function(result)
if result[1] ~= nil then
local totalAmount = 0
for k, v in pairs(result) do
totalAmount = totalAmount + tonumber(v.amount)
end
Player.Functions.RemoveMoney("bank", totalAmount, "paid-all-bills")
exports.ghmattimysql:execute('DELETE FROM bills WHERE citizenid=@citizenid AND type=@type', {['@citizenid'] = Player.PlayerData.citizenid, ['@type'] = 'police'})
TriggerClientEvent('police:client:sendBillingMail', src, totalAmount)
TriggerEvent('qb-moneysafe:server:DepositMoney', "police", totalAmount, "bills")
end
end)
end)
Maybe this is a bug.
QB.Phone.Data.PlayerData.money.bank.toFixed is not a function (@qb-phone/html/js/bank.js:50
No database setup present in latest version for twitter posting.
Hi,
Since the latest core update, the below is thrown when opening the phone:
[ script:qb-phone] > TriggerCallback (@qb-core/server/functions.lua:78)
[ script:qb-phone] > handler (@qb-core/server/events.lua:119)
[ script:qb-phone] SCRIPT ERROR: @qb-phone/server/main.lua:64: attempt to call a nil value (field 'ExecuteSql')
[ script:qb-phone] > TriggerCallback (@qb-core/server/functions.lua:78)
[ script:qb-phone] > handler (@qb-core/server/events.lua:119)
Phone phone is also blank, upon selecting one of the round, where the icons should be, it shows a js script error on line 224.
Thanks
Angie
how to make it can't transfer to ourself or offline player ?
Hiya,
Lovin the recent updates, thanks for those.
A quick question, to extend the time that the new pop up animation is shown for when receiving a notification, where is that time held?
Thanks
Angie
Your getting stuck in the selfie animation
So me and my friend called each other and we tried to stop the call, but it didnt work:)
Player is online, when attempting to phone them via just their phone number from the dial pad it says they're unavailable.
We have in the project a shortage of two scripts and it is very important
The first is his name qb-notes
The second is qb-rental
Regarding the first, the old version of it does not support OneSync
But there is an idea that can be done, which is to integrate it with the phone, and in this way we get rid of the script by integrating it with the phone and supports OneSync.
Why does the update stop on the phone
They are an important factor in the success of the project
I would like to add photos via Twitter
I can take pictures and send pictures to Twitter, for example, and WhatsApp
and add gallary studio for save your photo from camera
Add the silent feature to the phone
This library can also be used
https://www.youtube.com/watch?v=P0wE3M5j5KQ
https://github.com/utkuali/utk_render
The SQL on line 1152 of server/main.lua has an error.
the 'y' after the ? is wrong, it should not be there..... It causes an error in the script.
exports.oxmysql:execute('UPDATE players SET money = ?y WHERE citizenid = ?',
How do you change the keybinding to the phone? It is set to M and I would like to change it to a different key because it conflicts with another program I am using.
[ERROR] qb-phone was unable to execute a query!
[ script:oxmysql] Undefined object parameter #2
[ script:oxmysql] INSERT INTO player_mails (citizenid
, sender
, subject
, message
, mailid
, read
) VALUES (?, ?, ?, ?, ?, ?) {"1":"FMV17452","5":555690,"6":0}
i got this error when someone try to pay a bill.
Whatsapp messages are desynced, due to using client.local.time and no date/time prefix, then does some magic within the phone js, but never stores the date/time so they get all cluttered up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.