Post: In need of code **READ**
05-14-2013, 07:21 PM #1
xByNovaa
Space Ninja
(adsbygoogle = window.adsbygoogle || []).push({}); Does anyone know the code to make something activate while hold down a button and when you let go of that button it stops?
(adsbygoogle = window.adsbygoogle || []).push({});
05-14-2013, 07:34 PM #2
makeabce
I defeated!
Originally posted by xByNovaa View Post
Does anyone know the code to make something activate while hold down a button and when you let go of that button it stops?


:dumb: ...

+ and -
example: +lookup(hold) -lookdown(release)
Hope this helped.
EDIT: So what are you planning? :nerd:
05-14-2013, 07:44 PM #3
philipeininger
Treasure hunter
Originally posted by xByNovaa View Post
Does anyone know the code to make something activate while hold down a button and when you let go of that button it stops?


Post it in Question Section.
05-14-2013, 08:04 PM #4
xByNovaa
Space Ninja
Originally posted by philipeininger View Post
Post it in Question Section.


What question section?

---------- Post added at 08:04 PM ---------- Previous post was at 07:50 PM ----------

Originally posted by makeabce View Post
:dumb: ...

+ and -
example: +lookup(hold) -lookdown(release)
Hope this helped.
EDIT: So what are you planning? :nerd:


I want to do something like while your aiming you noclip and when you let go of aim you stop noclip. But idk how
05-14-2013, 08:34 PM #5
NAST3Y
Gym leader
Originally posted by xByNovaa View Post


What question section?

---------- Post added at 08:04 PM ---------- Previous post was at 07:50 PM ----------



I want to do something like while your aiming you noclip and when you let go of aim you stop noclip. But idk how

Maybe a dvarbool?
I dont think it will work but its worth a try.

if dvarbool ( "+lookup" ) noclip
if dvarbool ( "-lookup" ) noclip

or do something like
bind BUTTON_LSHLDR "+speed_throw; noclip"

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo