Skip to content

Dhruvpamnani/vlast-phone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages