Off Topic > Games

GMod Slo-Mo Script (One More Thing, Sorry)

Pages: << < (3/5) > >>

Dapizzanator:


--- Quote from: Devvy on June 29, 2010, 01:56:06 PM ---sv_cheats 1
bind mouse3 +slomo
alias +slomo "host_timescale 0.1"
alias -slomo "host_timescale 1"


garrysmod > garrysmod > cfg > make a .txt named autoexec then put the code inside it. Then rename autoexec.txt to autoexec.cfg

--- End quote ---
Thanks, Devvy. That's good for future reference. Locking topic.
Crap. One thing, how do you make it toggle on and off? Thanks, sorry.

mrlolop:


--- Quote from: Dapizzanator on June 29, 2010, 07:39:32 PM ---Thanks, Devvy. That's good for future reference. Locking topic.
Crap. One thing, how do you make it toggle on and off? Thanks, sorry.

--- End quote ---
-slomo?

Dapizzanator:

Will that toggle it? That's what's in the script right now, but I have to hold the button down for slomo, and when I release it, it goes normal. I want it to toggle on and off, like it does with noclip. You don't have to hold V forever to stay in noclip mode.

mrlolop:


--- Quote from: Dapizzanator on June 29, 2010, 08:27:20 PM ---Will that toggle it? That's what's in the script right now, but I have to hold the button down for slomo, and when I release it, it goes normal. I want it to toggle on and off, like it does with noclip. You don't have to hold V forever to stay in noclip mode.

--- End quote ---
Dunno then.

Dapizzanator:

Alright. Just did a quick search, but the only thing I could find regarding "toggle" in Lua, is any piece of code that already requires ____ 0 or ____ 1. I need it for this command, but it's a command that isn't already a toggle. Devvy, anything on this?

Pages: << < (3/5) > >>

Go to full version