This commit is contained in:
lifestorm
2024-08-04 23:12:27 +03:00
parent 0e770b2b49
commit ba1fc01b16
7084 changed files with 2173495 additions and 14 deletions

View File

@@ -0,0 +1,70 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
if CLIENT then
net.Receive( "lvs_hurtmarker", function( len )
if not LVS.ShowHitMarker then return end
local ply = LocalPlayer()
local vehicle = ply:lvsGetVehicle()
if not IsValid( vehicle ) then return end
vehicle:HurtMarker( net.ReadFloat() )
end )
net.Receive( "lvs_hitmarker", function( len )
if not LVS.ShowHitMarker then return end
local ply = LocalPlayer()
local vehicle = ply:lvsGetVehicle()
if not IsValid( vehicle ) then return end
if net.ReadBool() then
vehicle:CritMarker()
else
vehicle:HitMarker()
end
end )
net.Receive( "lvs_killmarker", function( len )
if not LVS.ShowHitMarker then return end
local ply = LocalPlayer()
local vehicle = ply:lvsGetVehicle()
if not IsValid( vehicle ) then return end
vehicle:KillMarker()
end )
net.Receive( "lvs_armormarker", function( len )
if not LVS.ShowHitMarker then return end
local ply = LocalPlayer()
local vehicle = ply:lvsGetVehicle()
if not IsValid( vehicle ) then return end
vehicle:ArmorMarker( net.ReadBool() )
end )
return
end
util.AddNetworkString( "lvs_hitmarker" )
util.AddNetworkString( "lvs_hurtmarker" )
util.AddNetworkString( "lvs_killmarker" )
util.AddNetworkString( "lvs_armormarker" )