#1min timer epic bypass

1 messages · Page 1 of 1 (latest)

idle mica
#

type here ig

scarlet vigil
#

i usually just do this for peformance reasons, in this case it doesnt matter at all but im just used to it

idle mica
#

would this be better for performance?

scarlet vigil
#

doing :GetBool() on tick or on EntityTakeDamage is from what i saw just not needed

idle mica
#

prolly

#

in that case u should do something like this

#
local convar = CreateConVar(...)
local disableTinnitus = convar:GetBool()
-- rest of the stuff the same```
#

iirc convars save after restarts n stuff

scarlet vigil
#

yeah but that wont update when the convars are changed

idle mica
idle mica
scarlet vigil
#

same thing, just different style

idle mica
#

does the convar not save after reconnecting?

#

i.e if i disable it, reconnect, does it not stay disabled?

#

or does it reset to 1

scarlet vigil
#

it saves

idle mica
#

because this returns a convar

scarlet vigil
#

it doesnt

idle mica
#

it absolutely does

scarlet vigil
idle mica
#

oh shiii

#

my bad my bad

#

didn't see that

scarlet vigil
#

np

idle mica
#

I was caught off guard

scarlet vigil
#

i know it looks ugly as fuck but i don't feel like it should be a new line either

#

idk

idle mica
#

what I like to do is something like this

local value = CreateConVar()
value = value:GetBool()

I do that for indexing tables too as to not make a huge line or bunch of if statements

#

like for example

local moneyStored = sql.Query("Query")
moneyStored = moneyStored and moneyStored[1]
moneyStored = moneyStored and moneyStored.money
#

its iffy but it works & is neat imo

scarlet vigil
#

yeah works too ig

idle mica
#

anyways

#

apologies for taking ur time

#

twas my mistake