-
Notifications
You must be signed in to change notification settings - Fork 104
/
fxmanifest.lua
55 lines (47 loc) · 1.82 KB
/
fxmanifest.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
fx_version 'cerulean'
game 'gta5'
author 'https://www.github.com/CodineDev' -- Base Refueling System: (https://github.com/InZidiuZ/LegacyFuel), other code by Codine (https://www.github.com/CodineDev).
description 'cdn-fuel'
version '2.1.9'
client_scripts {
'@PolyZone/client.lua',
'client/fuel_cl.lua',
'client/electric_cl.lua',
'client/station_cl.lua',
'client/utils.lua'
}
server_scripts {
'server/fuel_sv.lua',
'server/station_sv.lua',
'server/electric_sv.lua',
'@oxmysql/lib/MySQL.lua',
}
shared_scripts {
'shared/config.lua',
'@qb-core/shared/locale.lua',
-- '@ox_lib/init.lua', -- OX_Lib, only line this in if you have ox_lib and are using them.
'locales/en.lua', -- English Locales
-- 'locales/de.lua', -- German / Deutsch Locales
-- 'locales/fr.lua', -- French / Français Locales
-- 'locales/es.lua', -- Spanish / Español / Española Locales
-- 'locales/ee.lua', -- Estonian Locales
}
exports { -- Call with exports['cdn-fuel']:GetFuel or exports['cdn-fuel']:SetFuel
'GetFuel',
'SetFuel'
}
lua54 'yes'
dependencies { -- Make sure these are started before cdn-fuel in your server.cfg!
'PolyZone',
'interact-sound',
-- QB-Core Functionality (Input, Target, Menu)
'qb-target',
'qb-input',
'qb-menu',
-- QBox | Overextended Functionalities (Input, Progressbar, Target, Menu etc.)
-- 'ox_lib', -- Ox Library
-- 'ox_target',
}
data_file 'DLC_ITYP_REQUEST' 'stream/[electric_nozzle]/electric_nozzle_typ.ytyp'
data_file 'DLC_ITYP_REQUEST' 'stream/[electric_charger]/electric_charger_typ.ytyp'
provide 'cdn-syphoning' -- This is used to override cdn-syphoning(https://github.com/CodineDev/cdn-syphoning) if you have it installed. If you don't have it installed, don't worry about this. If you do, we recommend removing it and using this instead.