all
This commit is contained in:
parent
b3be5bbddd
commit
4a0eae647e
134 changed files with 0 additions and 0 deletions
33
resources/[housing]/[bob74_ipl]/gtav/cargoship.lua
Normal file
33
resources/[housing]/[bob74_ipl]/gtav/cargoship.lua
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
-- Cargo ship: -168.1825, -2364.8259, 20.000
|
||||
exports('GetCargoShipObject', function()
|
||||
return CargoShip
|
||||
end)
|
||||
|
||||
CargoShip = {
|
||||
State = {
|
||||
normal = {
|
||||
"cargoship",
|
||||
"ship_occ_grp1"
|
||||
},
|
||||
sunk = {
|
||||
"sunkcargoship",
|
||||
"ship_occ_grp2"
|
||||
},
|
||||
|
||||
Set = function(state)
|
||||
CargoShip.State.Clear(false)
|
||||
|
||||
EnableIpl(state, state)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
EnableIpl({
|
||||
CargoShip.State.normal,
|
||||
CargoShip.State.sunk
|
||||
}, false)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
CargoShip.State.Set(CargoShip.State.normal)
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue