Garry's Mod

Garry's Mod

[LFS] Tie Phantom / Phantom Elite
17 Comments
Vrag  [author] 18 Sep, 2023 @ 9:46am 
np
Soerix 18 Sep, 2023 @ 9:34am 
Thanks, i already decompiled your mod and used the code and commented after for permisson, Thanks so much though!
Vrag  [author] 17 Sep, 2023 @ 2:46pm 
@soerix add that to your init.lua
Vrag  [author] 17 Sep, 2023 @ 2:45pm 
function ENT:OnTick()
if IsValid( self:GetDriver() ) and self:GetDriver():KeyPressed( IN_ZOOM ) and self:GetEngineActive() and self.tm < CurTime() then
if self.h then
self:SetMaterial( "" )
self:SetNoDraw( false )

self.h = not self.h
self:SetAITEAM( 1 )
self:EmitSound( "swine/tie_phantom/tphan_uncloak.wav" )
else
self:SetMaterial( "models/props_c17/frostedglass_01a" )
self:EmitSound( "swine/tie_phantom/tphan_cloak.wav" )
timer.Simple( 2, function()
self:SetNoDraw( true )
self.h = not self.h
self:SetAITEAM( 2 )
end)
end
self.tm = CurTime() + 3
end
end
Soerix 17 Sep, 2023 @ 10:40am 
Hey just wanted to ask ( im doing a diffirent LFS mod ) may i use your cloaking code? i really need it for what i need to do for my mod
Lilith 20 Dec, 2022 @ 11:02pm 
you should just add that to the top of the description and ignore comments about it @cn vrag
Vrag  [author] 20 Dec, 2022 @ 5:06pm 
Its your zoom key
Lilith 20 Dec, 2022 @ 11:57am 
this man. read 2 comments down read my only comment here then read the authors
Tonkmon 20 Dec, 2022 @ 10:47am 
does the ship have its cloaking device? what is the button for it?
Vrag  [author] 21 Apr, 2021 @ 12:17pm 
Yea press suit zoom
Lilith 20 Apr, 2021 @ 10:03pm 
does the cloak work at all or no
Max Mainio 9 Apr, 2021 @ 7:28am 
do lfs bird dog
bennyrife01 6 Mar, 2021 @ 10:18am 
a
Max Mainio 6 Mar, 2021 @ 7:39am 
pls do htc 300 helicopter next
The SPY who couldnt 3 Mar, 2021 @ 6:06pm 
OOOOOOOOOOOooo
puppy 3 Mar, 2021 @ 8:25am 
nice!
Reik_Doktr 1 Mar, 2021 @ 2:55pm 
Money well spent, hehe