blame shen 🥺

This commit is contained in:
Jonny_Bro (Nikita) 2024-06-11 19:29:52 +05:00
parent 592a146230
commit bdc423fed5
No known key found for this signature in database
GPG key ID: 3F1ECC04147E9BD8
4 changed files with 2 additions and 7 deletions

View file

@ -42,7 +42,6 @@ beatrun.convars.puristmode=Purist mode is a clientside preference that severely
beatrun.convars.quickturnground=Enables quickturning with secondary attack while on the ground beatrun.convars.quickturnground=Enables quickturning with secondary attack while on the ground
beatrun.convars.quickturnhandsonly=Enables quickturning with "Runner Hands" only beatrun.convars.quickturnhandsonly=Enables quickturning with "Runner Hands" only
beatrun.convars.showspeedometer=Toggle speedometer visibility beatrun.convars.showspeedometer=Toggle speedometer visibility
beatrun.convars.totsugekiaudio=Toggle Totsugeki audio
# HUD # HUD
beatrun.hud.course=Course: %s beatrun.hud.course=Course: %s

View file

@ -42,7 +42,6 @@ beatrun.convars.puristmode=Режим Purist это клиентский пар
beatrun.convars.quickturnground=Переключить Quickturn будучи на земле beatrun.convars.quickturnground=Переключить Quickturn будучи на земле
beatrun.convars.quickturnhandsonly=Переключить Quickturn только с "Runner Hands" beatrun.convars.quickturnhandsonly=Переключить Quickturn только с "Runner Hands"
beatrun.convars.showspeedometer=Переключить спидометр beatrun.convars.showspeedometer=Переключить спидометр
beatrun.convars.totsugekiaudio=Переключить звуки Totsugeki
# HUD # HUD
beatrun.hud.course=Курс: %s beatrun.hud.course=Курс: %s

View file

@ -42,7 +42,6 @@ beatrun.convars.puristmode=Режим Purist - це клієнтський па
beatrun.convars.quickturnground = Переключити Quickturn будучи на землі beatrun.convars.quickturnground = Переключити Quickturn будучи на землі
beatrun.convars.quickturnhandsonly=Переключити Quickturn тільки з "Runner Hands" beatrun.convars.quickturnhandsonly=Переключити Quickturn тільки з "Runner Hands"
beatrun.convars.showSpeedometer=Нічого сказати beatrun.convars.showSpeedometer=Нічого сказати
beatrun.convars.totsugekiAudio=Увімкнути голос "Totsugeki"
# HUD # HUD
beatrun.hud.course=Курс: %s beatrun.hud.course=Курс: %s

View file

@ -3,9 +3,7 @@ local totsugekispam = CreateConVar("Beatrun_TotsugekiSpam", 0, {FCVAR_REPLICATED
local totsugekiheading = CreateConVar("Beatrun_TotsugekiHeading", 0, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "", 0, 1) local totsugekiheading = CreateConVar("Beatrun_TotsugekiHeading", 0, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "", 0, 1)
local totsugekidir = CreateConVar("Beatrun_TotsugekiDir", 0, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "", 0, 1) local totsugekidir = CreateConVar("Beatrun_TotsugekiDir", 0, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "", 0, 1)
if CLIENT then local totsugekiaudio = CreateConVar("Beatrun_TotsugekiAudio", 1, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "", 0, 1)
CreateClientConVar("Beatrun_TotsugekiAudio", 1, true, true, language.GetPhrase("beatrun.convars.totsugekiaudio"), 0, 1)
end
local function Dive(ply, mv, cmd) local function Dive(ply, mv, cmd)
if (not ply:GetDive() or ply:GetDive() and ply.QuakeJumping and totsugeki:GetBool() and totsugekispam:GetBool()) and ply:GetCrouchJump() and mv:KeyPressed(IN_ATTACK2) then if (not ply:GetDive() or ply:GetDive() and ply.QuakeJumping and totsugeki:GetBool() and totsugekispam:GetBool()) and ply:GetCrouchJump() and mv:KeyPressed(IN_ATTACK2) then
@ -33,7 +31,7 @@ local function Dive(ply, mv, cmd)
if ply:UsingRH() and ply:GetActiveWeapon():GetQuakeJumping() and totsugeki:GetBool() then if ply:UsingRH() and ply:GetActiveWeapon():GetQuakeJumping() and totsugeki:GetBool() then
if SERVER then if SERVER then
if GetConVar("Beatrun_TotsugekiAudio"):GetBool() then if totsugekiaudio:GetBool() then
ply:EmitSound("misc/totsugeki" .. math.random(1, 2) .. ".mp3", 60, 100, 1, CHAN_VOICE) ply:EmitSound("misc/totsugeki" .. math.random(1, 2) .. ".mp3", 60, 100, 1, CHAN_VOICE)
end end