Phone for QB-Core Framework. Edited for a NP-Style look with a few extra things

Overview

qb-phone

Phone for QB-Core Framework. Edited for a NP-Style look with a few extra things, This file has been edited with the changes noted

Known Issues

  • Ping App doesn't work at longer ranges, only thing I'm really working on at the moment on it that will be pushed. If someone else figures out the issue earlier and wants to PR it, I will take it.

License

QBCore Framework
Copyright (C) 2021 Joshua Eger

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see 
   

Dependencies

  • qb-core
  • qb-policejob - MEOS, handcuff check etc.
  • qb-crypto - Crypto currency trading
  • qb-lapraces - Creating routes and racing
  • qb-houses - House and Key Management App
  • qb-garages - For Garage App
  • qb-banking - For Banking App
  • screenshot-basic - For Taking Photos
  • A Webhook for hosting photos (Discord or Imgur can provide this)
  • Some sort of help app for your Help icon to function, just place your event for opening it in client.lua line 2403
RegisterNUICallback('openHelp', function()  
    TriggerEvent('eventgoeshere')  <---------
end)

Screenshots

Home Messages Phone Settings MEOS Vehicles Email Advertisements Houses Services Racing Crypto Debt Wenmo Invoices Casino News Notepad Details JobCenter Employment Calculator

Features

  • Garages app to see your vehicle details
  • Mails to inform the player
  • Debt app for player invoices, Wenmo for quick bank transfers, Invoice app for legal invoices
  • Racing app to create races
  • MEOS app for police to search
  • House app for house details and management
  • Casino app for players to make bets and possibly multiply money
  • News app for news postings
  • Details tab for some player information at the palm of your hand
  • Tweets save to database for recall on restarts, edit how long they stay in config
  • Notepad app to make and save notes
  • Calculator app
  • Job Center and Employment apps just like the NoPickle

Installation

Manual

  • Download the script and put it in the [qb] directory.
  • Import qb-phone.sql in your database
  • Add a third paramater in your Functions.AddMoney and Functions.RemoveMoney which will be a reaosn for your "Wenmo" app to show why you sent or received money. To do this you search all of your files for these 2 functions and add a reason to it.. Ex:
Player.Functions.AddMoney('bank', payment)

would then be

 Player.Functions.AddMoney('bank', payment, "paycheck")
  • Add the following code to your server.cfg/resouces.cfg
ensure qb-core
ensure screenshot-basic
ensure qb-phone
ensure qb-policejob
ensure qb-crypto
ensure qb-lapraces
ensure qb-houses
ensure qb-garages
ensure qb-banking

Setup Webhook in server/main.lua for photos

Set the following variable to your webhook (For example, a Discord channel or Imgur webhook)

To use Discord:

  • Right click on a channel dedicated for photos
  • Click Edit Channel
  • Click Integrations
  • Click View Webhooks
  • Click New Webhook
  • Confirm channel
  • Click Copy Webhook URL
  • Paste into WebHook in server/main.lua
local WebHook = ""
Comments
  • App Garages: Cars not showing

    App Garages: Cars not showing

    Hello I am using the latest version of qb-garages and my owned vehicles does not appears to show up in our garage app.

    image

    image

    Thank you for all your work :D

    opened by Kwoonie 12
  • Phone stuck on screen after hangup

    Phone stuck on screen after hangup

    We have an issue in our server where if someone hangs up the call, the person who did not open their phone to hangup will keep the phone & call notification on their screen, If they open the phone at any point after the call, both the notification will disappear and they will have to close their phone again as normal. This is occuring with a fresh install of this resource. It is almost as if the container it is trying to remove isnt referenced but as I am not the best in .js I have been unable to prove this theory.

    I did notice that after having the call hang up the person who did not hang up receives the below NUI error: (I've left this here even though I believe this to also appear after hanging up on the default qb-phone aswell)

    Uncaught TypeError: Cannot read property 'icon' of undefined (@qb-phone/html/js/app.js:629)

    opened by hdsunbed 11
  • 'Give contact' not working

    'Give contact' not working

    Hey! Love the phone. Slight issue. When a player uses 'F1' and selects give contact, the recipient player gets a notification on their phone. However, the recipient player gets no notification within the phone app to add this newly suggested contact to their contact list... Suggestions? Thanks!

    opened by BlinbD 2
  • [SUGGESTION] Phone improvment

    [SUGGESTION] Phone improvment

    Hello there, good work btw

    Apps:

    • Make item check on apps?
    • Add a business app for specific jobs where business owners can hire/fire people and see the info about their employees (I'll pay for it to get done :D)
    • since you went with no pixel style maybe add the "wifi" so when connected players can see the specific app? also player needs to be in a specific spot/zone to connect to the wifi
    • In Addition to Project Sloth making an MDT with a dispatch system I don't think there is a need for meos app on the phone.

    Btw if you are down to the business app for the phone and get paid for it lmk on discord so we can make a deal with that.

    opened by ImpulseFPS 2
  • Uncught TypeError

    Uncught TypeError

    Thanks for sharing this amazing phone :)

    I have tested this hard and have only found one error so far. When I use the phoneboot and the other player hang up i get this error and the phone freezez for me.

    https://gyazo.com/573bde152cb63b2dede64ae365e234be

    opened by Howsn 2
  • delete messages?

    delete messages?

    is there a way to clear / delete messages with the phone? when you send the same person alot of messages it starts to get wonky and you have to keep scrolling down to the bottom to see the new message? maybe a way to limit how many messages are seen?

    opened by MG79NC 1
  • Icons dont show up und the bottom line

    Icons dont show up und the bottom line

    I cannot use slot 29-32 for the Icons... Even if I change the number from Maximum 28 to 32 in the config, the icons do not appear. The bottom line remains "empty". Can you please add this?

    opened by PlodyIce 1
  • Display players tweets contents when the notification for a new tweet pops up

    Display players tweets contents when the notification for a new tweet pops up

    I don't know if this an issue or not but the when the notification for the new tweet pop up. It should contains what that user tweeted instead of like "A new tweet has been posted"

    Thanks :)

    opened by Kwoonie 1
  • [Idea] Crypto

    [Idea] Crypto

    The crypto app should be changed so when you open the app you can select a variety of crypto. Like if we want to add more crypto coin we could select the one we want and then it will show, buy, sell or transfer

    opened by KingRyuShin 1
  • Banking & Debt App

    Banking & Debt App

    Banking App does not check if player has money when sending money. So anyone can just send 1mln$ to someone and they will be -1mln

    Debt App does check at first if player has money but after accepting request it does not refresh and u can accept same request unlimited times and it does not check for money, resulting in negative balance.

    opened by idunnoooooo 1
  • ping-app impr. req.

    ping-app impr. req.

    delete ping button will be good. delete accepted ping will be good. (if somebody accept wrong req)

    script has SetTimeout(5 * (60 * 1000), function() bıt need to do it manual i g.

    opened by ghost 1
  • Script Error/ Wrong Date on Emails

    Script Error/ Wrong Date on Emails

    Hey! So I have the following script error whenever an email is received from billing it also creates an undefined email.

    SCRIPT ERROR: @qb-phone/client/main.lua:1558: attempt to concatenate a nil value (field 'sender')

    Also I'm having issues with wrong date on the emails.

    opened by Wendel101 0
  • PlayerData error  when using camera

    PlayerData error when using camera

    Everytime people take a picture, it says touching up photo, and then it locks you in camera and you cant get out. PlayerData error was on client/main - 1436. Picture does not save or go to Discord Webhooked channel

    opened by Sulb0 0
  • Another XSS in profile picture.

    Another XSS in profile picture.

    To reproduce, add "><script>$('body').prepend(`<img src='https://www.shareicon.net/data/128x128/2016/03/22/737770_bar_512x512.png\'>`)</script><img style="display:none;" to the end of your profile picture link

    opened by stevn999 0
Owner
Booya
Booya
Facile is an HTML form validator that is inspired by Laravel's validation style and is designed for simplicity of use.

Facile is an HTML form validator that is inspired by Laravel's validation style and is designed for simplicity of use.

upjs 314 Dec 26, 2022
NP style edits and additionals for qb-phone, help from a few community members. NOT PROVIDING SUPPORT

qb-phone Phone for QB-Core Framework. Edited for a NP-Style look with a few extra things, This file has been edited with the changes noted NOTE NP doe

clmillzz 49 Jan 2, 2023
This extensions adds blocks to help you create your own carnival games in MakeCode Arcade using throwable balls, extra timer functions, and extra game-over options.

Usage This extensions adds blocks to help you create your own carnival games in MakeCode Arcade using throwable balls, extra timer functions, and extr

Microsoft 6 Nov 16, 2022
front.phone is a Javascript library that identifies, validates and formats phone numbers.

front.phone front.phone is a Javascript library that identifies, validates and formats phone numbers. Demo The main goal of this project is to create

VTEX 55 Oct 27, 2022
jquery-input-mask-phone-number.js - A simple, easy jquery format phone number mask library

jquery-input-mask-phone-number A jQuery Plugin to make masks on input field to US phone format. Quick start 1. Add latest jQuery and jquery-input-mask

Raja Rama Mohan Thavalam 12 Aug 25, 2022
Todo-List is an online website where users can add a todo tasks. tasks can be removed , added, and edited. Built with Webpack and JavaScript.

To-do List Description To-do-list is an online website where users can add a todo tasks. tasks can be removed , added, and edited.Built with Webpack a

tarike bouari 9 Sep 9, 2022
⛰ "core" is the core component package of vodyani, providing easy-to-use methods and AOP implementations.

Vodyani core ⛰ "core" is the core component package of vodyani, providing easy-to-use methods and AOP implementations. Installation npm install @vodya

Vodyani 25 Oct 18, 2022
Automated testing for single-page applications (SPAs). Small, portable, and easy to use. Click on things, fill in values, await for things exist, etc.

SPA Check Automated testing for single-page applications (SPAs). Small, portable, and easy to use. Click on things, fill in values, await for things e

Cory Leigh Rahman 5 Dec 23, 2022
Project Cider. A new look into listening and enjoying Apple Music in style and performance. 🚀

Links Wiki Request Feature Report Bug View The Releases Install Sources Compiling and Configuration For more information surrounding configuration, co

Cider Collective 5.8k Jan 5, 2023
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
[ON HOLD] Living Style Guides Engine and Maintenance Environment for Front-end Components. Core repository.

[ON HOLD] SourceJS - Living Style Guide Platform The project been stale for a while and currently is in the [ON HOLD] state until we find new maintain

SourceJS 552 Nov 8, 2022
Hi, Spring fans! In this installment we look at the just-released Hilla framework, from our friends at Vaadin

Custom project from Hilla This project can be used as a starting point to create your own Hilla application with Spring Boot. It contains all the nece

Spring Tips 11 Nov 17, 2022
Extra JavaScript string methods.

string.js string.js, or simply S is a lightweight (< 5 kb minified and gzipped) JavaScript library for the browser or for Node.js that provides extra

JP Richardson 1.8k Dec 17, 2022
An Easy to use and advanced working multiguild Waitingroom Bot written in discord.js v13 without any extra modules.

Multiguild-Waitingroom-v13 An Easy to use and advanced working multiguild Waitingroom Bot written in discord.js v13 without any extra modules. It is m

Tomato6966 17 Dec 11, 2022
Seamless and lightweight parallax scrolling library implemented in pure JavaScript utilizing Hardware acceleration for extra performance.

parallax-vanilla.js Seamless and lightweight parallax scrolling library implemented in pure JavaScript utilizing Hardware acceleration for extra perfo

Erik Engervall 91 Dec 16, 2022
Markdown Plus is a markdown editor with extra features

Markdown Plus Markdown Plus ("M+" or "mdp" for short) is a markdown editor with extra features. Online demo: mdp.tylingsoft.com Apps We currently don'

null 2.1k Dec 29, 2022
DevArms - a collection of developer utils that gives you extra arms to reach more in your tasks

DevArms is a collection of developer utils that gives you extra arms to reach more in your tasks. It runs completely offline, and cross-platform across Windows, Mac and Linux. Written in Rust, React. Powered by Tauri.

Qiushi Pan 82 Dec 18, 2022