File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Citizen.CreateThread(function()
3434 Ammunations .LoadDefault ()
3535 LesterFactory .LoadDefault ()
3636 StripClub .LoadDefault ()
37+ CargoShip .LoadDefault ()
3738
3839 Graffitis .Enable (true )
3940
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ client_scripts {
2121 , " gtav/base.lua" -- Base IPLs to fix holes
2222 , " gtav/ammunations.lua"
2323 , " gtav/bahama.lua"
24+ , " gtav/cargoship.lua"
2425 , " gtav/floyd.lua"
2526 , " gtav/franklin.lua"
2627 , " gtav/franklin_aunt.lua"
Original file line number Diff line number Diff line change 1+ -- Cargo ship: -168.1825, -2364.8259, 20.000
2+ exports (' GetCargoShipObject' , function ()
3+ return CargoShip
4+ end )
5+
6+ CargoShip = {
7+ State = {
8+ normal = {
9+ " cargoship" ,
10+ " ship_occ_grp1"
11+ },
12+ sunk = {
13+ " sunkcargoship" ,
14+ " ship_occ_grp2"
15+ },
16+
17+ Set = function (state )
18+ CargoShip .State .Clear (false )
19+
20+ EnableIpl (state , state )
21+ end ,
22+ Clear = function (refresh )
23+ EnableIpl ({
24+ CargoShip .State .normal ,
25+ CargoShip .State .sunk
26+ }, false )
27+ end
28+ },
29+
30+ LoadDefault = function ()
31+ CargoShip .State .Set (CargoShip .State .normal )
32+ end
33+ }
You can’t perform that action at this time.
0 commit comments