mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
Move location of starter items (#865)
* Update; Location of starter items Moved the starter items to near top of the file - commonly searched for, and would be expected at top of the file * Bump --------- Co-authored-by: zwkf <dev@charlie.fyi>
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ fx_version 'cerulean'
|
|||||||
game 'gta5'
|
game 'gta5'
|
||||||
|
|
||||||
description 'QB-Core'
|
description 'QB-Core'
|
||||||
version '1.2.4'
|
version '1.2.5'
|
||||||
|
|
||||||
shared_scripts {
|
shared_scripts {
|
||||||
'config.lua',
|
'config.lua',
|
||||||
|
|||||||
+6
-6
@@ -3,6 +3,12 @@ QBShared = QBShared or {}
|
|||||||
local StringCharset = {}
|
local StringCharset = {}
|
||||||
local NumberCharset = {}
|
local NumberCharset = {}
|
||||||
|
|
||||||
|
QBShared.StarterItems = {
|
||||||
|
['phone'] = { amount = 1, item = 'phone' },
|
||||||
|
['id_card'] = { amount = 1, item = 'id_card' },
|
||||||
|
['driver_license'] = { amount = 1, item = 'driver_license' },
|
||||||
|
}
|
||||||
|
|
||||||
for i = 48, 57 do NumberCharset[#NumberCharset + 1] = string.char(i) end
|
for i = 48, 57 do NumberCharset[#NumberCharset + 1] = string.char(i) end
|
||||||
for i = 65, 90 do StringCharset[#StringCharset + 1] = string.char(i) end
|
for i = 65, 90 do StringCharset[#StringCharset + 1] = string.char(i) end
|
||||||
for i = 97, 122 do StringCharset[#StringCharset + 1] = string.char(i) end
|
for i = 97, 122 do StringCharset[#StringCharset + 1] = string.char(i) end
|
||||||
@@ -75,12 +81,6 @@ function QBShared.SetDefaultVehicleExtras(vehicle, config)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
QBShared.StarterItems = {
|
|
||||||
['phone'] = { amount = 1, item = 'phone' },
|
|
||||||
['id_card'] = { amount = 1, item = 'id_card' },
|
|
||||||
['driver_license'] = { amount = 1, item = 'driver_license' },
|
|
||||||
}
|
|
||||||
|
|
||||||
QBShared.MaleNoGloves = {
|
QBShared.MaleNoGloves = {
|
||||||
[0] = true,
|
[0] = true,
|
||||||
[1] = true,
|
[1] = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user