mirror of
https://github.com/JonnyBro/beatrun.git
synced 2025-01-31 12:07:27 +05:00
blame shen 🥺
This commit is contained in:
parent
592a146230
commit
bdc423fed5
4 changed files with 2 additions and 7 deletions
|
@ -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.quickturnhandsonly=Enables quickturning with "Runner Hands" only
|
||||
beatrun.convars.showspeedometer=Toggle speedometer visibility
|
||||
beatrun.convars.totsugekiaudio=Toggle Totsugeki audio
|
||||
|
||||
# HUD
|
||||
beatrun.hud.course=Course: %s
|
||||
|
|
|
@ -42,7 +42,6 @@ beatrun.convars.puristmode=Режим Purist это клиентский пар
|
|||
beatrun.convars.quickturnground=Переключить Quickturn будучи на земле
|
||||
beatrun.convars.quickturnhandsonly=Переключить Quickturn только с "Runner Hands"
|
||||
beatrun.convars.showspeedometer=Переключить спидометр
|
||||
beatrun.convars.totsugekiaudio=Переключить звуки Totsugeki
|
||||
|
||||
# HUD
|
||||
beatrun.hud.course=Курс: %s
|
||||
|
|
|
@ -42,7 +42,6 @@ beatrun.convars.puristmode=Режим Purist - це клієнтський па
|
|||
beatrun.convars.quickturnground = Переключити Quickturn будучи на землі
|
||||
beatrun.convars.quickturnhandsonly=Переключити Quickturn тільки з "Runner Hands"
|
||||
beatrun.convars.showSpeedometer=Нічого сказати
|
||||
beatrun.convars.totsugekiAudio=Увімкнути голос "Totsugeki"
|
||||
|
||||
# HUD
|
||||
beatrun.hud.course=Курс: %s
|
||||
|
|
|
@ -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 totsugekidir = CreateConVar("Beatrun_TotsugekiDir", 0, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "", 0, 1)
|
||||
|
||||
if CLIENT then
|
||||
CreateClientConVar("Beatrun_TotsugekiAudio", 1, true, true, language.GetPhrase("beatrun.convars.totsugekiaudio"), 0, 1)
|
||||
end
|
||||
local totsugekiaudio = CreateConVar("Beatrun_TotsugekiAudio", 1, {FCVAR_REPLICATED, FCVAR_ARCHIVE}, "", 0, 1)
|
||||
|
||||
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
|
||||
|
@ -33,7 +31,7 @@ local function Dive(ply, mv, cmd)
|
|||
|
||||
if ply:UsingRH() and ply:GetActiveWeapon():GetQuakeJumping() and totsugeki:GetBool() 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)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue