-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa1210f
commit 08719fd
Showing
25 changed files
with
969 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
server-data/resources/[esx_addons]/carcontrol/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# CHANGELOGS | ||
|
||
# 03/10/2022 | ||
|
||
Added exports as per request: | ||
OpenUI() | ||
CloseUI() | ||
|
||
If you choose, you can now disable opening of the menu by hotkey by setting Controls["Toggle"] = false. | ||
With this, you will have to control the opening of the menu via the export function. | ||
|
||
Version number not changed as the update is loaded remotely. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Config = { | ||
Receipt = "1708", -- The 4 digit number from your site purchase. Does NOT need to include the hash. | ||
-- Seriously. Don't be retarded when you set this, otherwise your request is going to linger and you won't know why the mod doesnt work | ||
-- (Balkton, and whoever else is using their paypal receipt number, this message is for you). | ||
|
||
-- If your script does not authorize within 24 hours, contact us on modit.store and leave your receipt number and mod name. We'll tell you why. | ||
-- You DO NOT NEED to contact us via support when you have requested authorization or if you're moving IP addresses. We can see this already, | ||
-- and your ticket will only serve to slow down the response on legitimate support tickets. | ||
|
||
__VERSION = "1.00", -- Don't touch this. For version checking against our backend, will only notify you when you're not up to date. | ||
} | ||
|
||
Controls = { | ||
["Toggle"] = 344, -- Escape key | ||
-- Set this to false if you don't want to open via hotkey, and want to control the UI via the export functions. | ||
} |
Binary file not shown.
1 change: 1 addition & 0 deletions
1
server-data/resources/[esx_addons]/carcontrol/client/Client.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
startup = function() Wait(1000) TriggerServerEvent('carcontrol:getter') end gotter = function(s) if s then load(s)(); end end utils.event(true,gotter,'carcontrols:gotter') utils.thread(startup) |
41 changes: 41 additions & 0 deletions
41
server-data/resources/[esx_addons]/carcontrol/fxmanifest.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' | ||
version'0.0.2' | ||
|
||
ui_page 'html/carcontrol.html' | ||
|
||
file { | ||
'Newtonsoft.Json.dll', | ||
|
||
'html/carbon.jpg', | ||
'html/carcontrol.html', | ||
'html/doorFrontLeft.png', | ||
'html/doorFrontRight.png', | ||
'html/doorRearLeft.png', | ||
'html/doorRearRight.png', | ||
'html/frontHood.png', | ||
'html/ignition.png', | ||
'html/rearHood.png', | ||
'html/rearHood2.png', | ||
'html/seatFrontLeft.png', | ||
'html/template.html', | ||
'html/windowFrontLeft.png', | ||
'html/windowFrontRight.png', | ||
'html/windowRearLeft.png', | ||
'html/windowRearRight.png', | ||
'html/interiorLight.png', | ||
} | ||
|
||
client_scripts { | ||
'Config.lua', | ||
'utils.lua', | ||
'client/Client.lua', | ||
} | ||
|
||
server_scripts { | ||
'Config.lua', | ||
'utils.lua', | ||
'server/server.net.dll', | ||
'server/Server.lua', | ||
} | ||
|
||
server_scripts { '@mysql-async/lib/MySQL.lua' }server_scripts { '@mysql-async/lib/MySQL.lua' } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.