This repository was archived by the owner on Mar 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,17 @@ Package : https://github.com/Sna-aaa/qb-sna-fuel
32
32
33
33
1 ) Remove any fuel or electricity script that you may have including LegacyFuel, ps-fuel etc
34
34
35
- 2 ) Replace all occurences of "LegacyFuel" by "qb-sna-fuel" (or wathever your directory name is) in all your server resources exports
35
+ 2 ) Replace all occurences of "LegacyFuel" by "qb-sna-fuel" (or wathever your directory name is) in all your Legacyfuel compatible resources
36
+ 2a) Look in all your resources the use of native GetVehicleFuelLevel for non Legacyfuel compatible resources
37
+ When this native is found it must be replaced by the export like this
38
+ ``` lua
39
+ exports [' qb-sna-fuel' ]:GetFuel (vehicle )
40
+ ```
41
+ 2b) Look in all your resources the use of native SetVehicleFuelLevel for non Legacyfuel compatible resources
42
+ When this native is found it must be replaced by the export like this
43
+ ``` lua
44
+ exports [' qb-sna-fuel' ]:SetFuel (vehicle , fuelpercentage )
45
+ ```
36
46
37
47
3 ) If you want to use the auto charging function for electric vehicles in garage:
38
48
- Import the database.sql in your database
You can’t perform that action at this time.
0 commit comments