mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
+2
-2
@@ -315,7 +315,7 @@ function QBCore.Player.CreatePlayer(PlayerData)
|
||||
local totalWeight = QBCore.Player.GetTotalWeight(self.PlayerData.items)
|
||||
local itemInfo = QBCore.Shared.Items[item:lower()]
|
||||
if itemInfo == nil then
|
||||
TriggerClientEvent('QBCore:Notify', source, 'Item Does Not Exist', 'error')
|
||||
TriggerClientEvent('QBCore:Notify', self.PlayerData.source, 'Item Does Not Exist', 'error')
|
||||
return
|
||||
end
|
||||
local amount = tonumber(amount)
|
||||
@@ -673,4 +673,4 @@ function QBCore.Player.CreateSerialNumber()
|
||||
return SerialNumber
|
||||
end
|
||||
|
||||
PaycheckLoop() -- This just starts the paycheck system
|
||||
PaycheckLoop() -- This just starts the paycheck system
|
||||
|
||||
Reference in New Issue
Block a user