Giter Site home page Giter Site logo

qb-phone's People

Contributors

aveeux avatar berkiebb avatar d4isdavid avatar darknight2590 avatar demo4889 avatar developer-bear avatar emresudo avatar eralpozcan avatar evanillaa avatar ghzgarage avatar gimbald avatar iammikejuuh avatar idrisdose avatar ihyajb avatar izmystic avatar jay-fivem avatar jericofx avatar jnccloud avatar kmack710 avatar kywan avatar liamdormon avatar mekz1222 avatar monkeywhisper avatar newtonzz avatar r0adra93 avatar sharkiiie avatar singh-manavv avatar stevn999 avatar theilleniumstudios avatar worapolburaphan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qb-phone's Issues

Whatsapp Messages

Hello,

Whatsapp app, when the player doesn't have somebody in the contacts, can't receive messages.

Phone bug #Hang On

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

New message returning error for the first message to the player

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

can add new future

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,
    },	

[Suggestion] Add scroll bar to mail app

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.

Email not working correct

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] ]

Exploits

This thing is full of exploits, no inputs are sanitized, tons of opertunity for xss

Add JobCenter On phone

Hi
If you can add JobCenter to your phone
It looks attractive
Thank you for all your efforts

Critical Phone Error

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

Remove off duty people in apps

Would you be able to make sure the mechanics, lawyers and taxi people are not displayed in the call list of said jobs?

invoices don't show in the bank under invoices tab

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

Phone services

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.

why not active InstalledApps

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,
    },

anonymous call

image
when i calling back to anonymous it show phone number of anonymous on recent tab

The notification system is very nice, but

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/Police Job ERROR

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)
BF73D447-9623-46C5-AE40-65AC29EC908D

Phone invoices not appearing

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

message

if person is not in your contact list you cant message him, when you send message he doesnt see the message and notification.

why delete this ?

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)

Uncaught TypeError

Maybe this is a bug.
QB.Phone.Data.PlayerData.money.bank.toFixed is not a function (@qb-phone/html/js/bank.js:50

Issue with opening phone since core update

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

Not an issue, more of a query

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

Selfie

Your getting stuck in the selfie animation

add qb-notes for qb-phone

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.

Error on line 1152 of server/main.lua

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 = ?',

Change Keybinding

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.

download latest phone

So i downloaded the latest phone and i get this issue
image
and my phone stay like this most of the time and then it goes back to normal
image

error when try to pay the bill

[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 message time desync

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.