From db5efcb89ab6422d37fabb30b531640de67b6209 Mon Sep 17 00:00:00 2001 From: Kmack710 <69439573+Kmack710@users.noreply.github.com> Date: Wed, 23 Jun 2021 13:26:08 -0700 Subject: [PATCH] Phone Number, Nationality and Bank USA default now --- server/player.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/player.lua b/server/player.lua index 6766b6b..cd932a9 100644 --- a/server/player.lua +++ b/server/player.lua @@ -51,9 +51,9 @@ QBCore.Player.CheckPlayerData = function(source, PlayerData) PlayerData.charinfo.birthdate = PlayerData.charinfo.birthdate ~= nil and PlayerData.charinfo.birthdate or "00-00-0000" PlayerData.charinfo.gender = PlayerData.charinfo.gender ~= nil and PlayerData.charinfo.gender or 0 PlayerData.charinfo.backstory = PlayerData.charinfo.backstory ~= nil and PlayerData.charinfo.backstory or "placeholder backstory" - PlayerData.charinfo.nationality = PlayerData.charinfo.nationality ~= nil and PlayerData.charinfo.nationality or "Dutch" - PlayerData.charinfo.phone = PlayerData.charinfo.phone ~= nil and PlayerData.charinfo.phone or "06"..math.random(11111111, 99999999) - PlayerData.charinfo.account = PlayerData.charinfo.account ~= nil and PlayerData.charinfo.account or "NL0"..math.random(1,9).."QBUS"..math.random(1111,9999)..math.random(1111,9999)..math.random(11,99) + PlayerData.charinfo.nationality = PlayerData.charinfo.nationality ~= nil and PlayerData.charinfo.nationality or "USA" + PlayerData.charinfo.phone = PlayerData.charinfo.phone ~= nil and PlayerData.charinfo.phone or "1"..math.random(111111111, 999999999) + PlayerData.charinfo.account = PlayerData.charinfo.account ~= nil and PlayerData.charinfo.account or "US0"..math.random(1,9).."QBUS"..math.random(1111,9999)..math.random(1111,9999)..math.random(11,99) PlayerData.metadata = PlayerData.metadata ~= nil and PlayerData.metadata or {} PlayerData.metadata["hunger"] = PlayerData.metadata["hunger"] ~= nil and PlayerData.metadata["hunger"] or 100