Code Monkey home page Code Monkey logo

vlast-phone's Introduction

vlast-phone

qb-phone iOS Theme made by TORCHIZM for discord.gg/vlast

Requirements

Installation:

  • If not exists, add this codes to qb-core/server/player.lua > CheckPlayerData function
PlayerData.metadata["phonedata"] = PlayerData.metadata["phonedata"] ~= nil and PlayerData.metadata["phonedata"] or {
        SerialNumber = QBCore.Player.CreateSerialNumber(),
        InstalledApps = {},
    }

PlayerData.metadata["phone"] = PlayerData.metadata["phone"] ~= nil and PlayerData.metadata["phone"] or {}
  • If not exists, Add this code as a new function to qb-core/server/player.lua
QBCore.Player.CreateSerialNumber = function()
    local UniqueFound = false
    local SerialNumber = nil

    while not UniqueFound do
        SerialNumber = math.random(11111111, 99999999)
        QBCore.Functions.ExecuteSql(true, "SELECT COUNT(*) as count FROM `players` WHERE `metadata` LIKE '%"..SerialNumber.."%'", function(result)
            if result[1].count == 0 then
                UniqueFound = true
            end
        end)
    end
    return SerialNumber
end

Todo List:

  • Photos App (Currently working on)
  • Yellowpages multi-image support
  • Rework Twitter
  • Remake Bank
  • Remake Wanteds
  • Improve Zoom
  • Fix App Alerts

Main Menu

Main Menu

Photos App

Photos Photos Photos Photos Photos Photos Photos Photos Photos

Bank

Dependencies

Bank

Calculator with all functions

Calculator

Mail (just static html page)

Mail

Messages

Messages Messages Messages

Phone

Phone Phone Phone Phone Phone

Property

Dependencies

Property

Racing (deault)

Dependencies

Racing

Settings

Settings Settings Settings Wallpapers

Twitter

Twitter Twitter

Wanteds

Dependencies

Wanteds

Yellow Pages

Yellow Pages

Zoom

Zoom Zoom

Clock

Number picker is edited and fixed version of jquery.ios.picker.3d.js by me

World Time Stopwatch Timer Timer Alarm Alarm Alarm Alarm

vlast-phone's People

Contributors

torchizm avatar vlastrp avatar

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.