LeSiiN / qb-phone-npstyle

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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 <https://www.gnu.org/licenses/>

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 = ""

About

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


Languages

Language:JavaScript 35.5%Language:CSS 26.0%Language:Lua 24.1%Language:HTML 14.4%