forked from Simnation/Main
ed
This commit is contained in:
parent
c8ce065d61
commit
d7e2f9da39
47 changed files with 680 additions and 2010 deletions
BIN
resources/[carscripts]/ebu_connect/.fxap
Normal file
BIN
resources/[carscripts]/ebu_connect/.fxap
Normal file
Binary file not shown.
BIN
resources/[carscripts]/ebu_connect/client/client.lua
Normal file
BIN
resources/[carscripts]/ebu_connect/client/client.lua
Normal file
Binary file not shown.
9
resources/[carscripts]/ebu_connect/client/utils.lua
Normal file
9
resources/[carscripts]/ebu_connect/client/utils.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
RegisterKeyMapping("+trailerConnect", "Connect any trailer", "keyboard", "j")
|
||||
|
||||
-- Use this function for job locking. If the job is correct, return true.
|
||||
-- Please refer to your framework's job system for how to implement, I do not support
|
||||
-- job checking integration. -Theebu
|
||||
function allowed()
|
||||
return true
|
||||
end
|
73
resources/[carscripts]/ebu_connect/config.lua
Normal file
73
resources/[carscripts]/ebu_connect/config.lua
Normal file
|
@ -0,0 +1,73 @@
|
|||
Config = {}
|
||||
Config.HitchDist = 3.5 -- Distance to check between hitches Default: 1.0
|
||||
Config.Debug = false
|
||||
--ONLY ENABLE ONE SYSTEM BELOW. BY DEFAULT BOTH ARE FALSE, WHICH ALLOWS ANY TOWING CAPABLE VEHICLE TO TOW ANY TRAILER
|
||||
|
||||
--Enable / Disable blacklisting if you still want to prevent certain trailers from being used but allow the rest
|
||||
-- For example, stop vehicles from being able to freely connect to semi trailers
|
||||
Config.UseBlacklist = false -- If FALSE (Default) the below section does NOT need filled out
|
||||
Config.Blacklist = {
|
||||
'trailers',
|
||||
'trailers2',
|
||||
'trailers3',
|
||||
'tvtrailer',
|
||||
'trailers4',
|
||||
'docktrailer',
|
||||
'tr2',
|
||||
'tr3',
|
||||
'tr4',
|
||||
'tanker',
|
||||
'tanker2',
|
||||
'armytanker',
|
||||
'trflat',
|
||||
'trailerlogs',
|
||||
'trailerlarge'
|
||||
}
|
||||
|
||||
----
|
||||
--Enable / Disable whitelisting if you still want full control what trucks can tow what trailers
|
||||
Config.UseWhitelist = false -- If FALSE (Default) the below sections do NOT need filled out
|
||||
|
||||
Config.BallHitchTrucks = {
|
||||
'sadler'
|
||||
}
|
||||
|
||||
Config.BallHitchTrailers = {
|
||||
'trailersmall'
|
||||
}
|
||||
|
||||
Config.GooseHitchTrucks = {
|
||||
|
||||
}
|
||||
|
||||
Config.GooseHitchTrailers = {
|
||||
|
||||
}
|
||||
|
||||
Config.SaddleHitchTrucks = {
|
||||
'packer',
|
||||
'phantom',
|
||||
'phantom2',
|
||||
'phantom3',
|
||||
'hauler',
|
||||
'hauler2',
|
||||
'barracks2'
|
||||
}
|
||||
|
||||
Config.SaddleHitchTrailers = {
|
||||
'trailers',
|
||||
'trailers2',
|
||||
'trailers3',
|
||||
'tvtrailer',
|
||||
'trailers4',
|
||||
'docktrailer',
|
||||
'tr2',
|
||||
'tr3',
|
||||
'tr4',
|
||||
'tanker',
|
||||
'tanker2',
|
||||
'armytanker',
|
||||
'trflat',
|
||||
'trailerlogs',
|
||||
'trailerlarge'
|
||||
}
|
23
resources/[carscripts]/ebu_connect/fxmanifest.lua
Normal file
23
resources/[carscripts]/ebu_connect/fxmanifest.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
fx_version 'adamant'
|
||||
game 'gta5'
|
||||
|
||||
description 'Connect Trailer Script'
|
||||
author 'theebu'
|
||||
lua54 'yes'
|
||||
version '0.1.4'
|
||||
|
||||
client_scripts {
|
||||
'client/client.lua',
|
||||
'client/utils.lua'
|
||||
}
|
||||
server_scripts {
|
||||
'server/server.lua'
|
||||
}
|
||||
shared_scripts {
|
||||
'config.lua',
|
||||
}
|
||||
escrow_ignore {
|
||||
'config.lua',
|
||||
'client/utils.lua'
|
||||
}
|
||||
dependency '/assetpacks'
|
BIN
resources/[carscripts]/ebu_connect/server/server.lua
Normal file
BIN
resources/[carscripts]/ebu_connect/server/server.lua
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue