mirror of
https://github.com/SaavageBueno/Qb-Core-vehicle-shared-lua.git
synced 2026-08-11 04:15:44 -04:00
Update vehicles-lua.bat
Updated For the new QB-core Format
This commit is contained in:
committed by
GitHub
parent
62a2d2fa8d
commit
5d8dd55c4f
@@ -8,15 +8,7 @@ echo "return {" > %LUA_FILE%
|
||||
for %%f in (*.ytd) do (
|
||||
set name=%%~nf
|
||||
set name=!name:_= !
|
||||
echo "['!name!'] = {" >> %LUA_FILE%
|
||||
echo " ['name'] = '!name!', " >> %LUA_FILE%
|
||||
echo " ['model'] = '!name!', " >> %LUA_FILE%
|
||||
echo " ['price'] = 20000, " >> %LUA_FILE%
|
||||
echo " ['category'] = 'compacts', " >> %LUA_FILE%
|
||||
echo " ['categoryLabel'] = 'Compacts', " >> %LUA_FILE%
|
||||
echo " ['hash'] = '!name!', " >> %LUA_FILE%
|
||||
echo " ['shop'] = 'pdm', " >> %LUA_FILE%
|
||||
echo "}, " >> %LUA_FILE%
|
||||
echo " { model = '!name!', name = '!name!', brand = 'somebrand', price = 125000, category = 'compacts', type = 'automobile', shop = 'pdm' }," >> %LUA_FILE%
|
||||
)
|
||||
|
||||
echo "}" >> %LUA_FILE%
|
||||
|
||||
Reference in New Issue
Block a user