(for use in gmod) I was wondering if you could make a flashlight spammer for gmod?
How do you want it to be activated/disabled?
bind mwheelup "impulse 100"; bind mwheeldown "impulse 100"
now roll your mwheel
[editline]5th December 2010[/editline]
[lua]concommand.Add("start_spammer", function()
timer.Create("spammer", 0.1, 0, function()
RunConsoleCommand("impulse 100")
end)
end)
concommand.Add("stopspammer", function()
timer.Destroy("spammer")
end)[/lua]
I'll PM you a script to put in your cfg folder. I'll try and PM it to you soon, as long as you do not release it to anyone else, it's a very easy script to make, just please don't give it to anyone.
What key do you want to toggle it on and off?
[QUOTE=TheFacePuncher1;26511242]I'll PM you a script to put in your cfg folder. I'll try and PM it to you soon, as long as you do not release it to anyone else, it's a very easy script to make, just please don't give it to anyone.
What key do you want to toggle it on and off?[/QUOTE]
hmm.. could you make it . ? Oh and pm me please :D
[QUOTE=iRzilla;26514984]alias spam "impulse 100; wait 1; spam;"[/QUOTE]
Have fun crashing instantly.
[QUOTE=iRzilla;26514984]alias spam "impulse 100; wait 1; spam;"
[editline]6th December 2010[/editline]
@cunit
RunConsoleCommand("impulse 100")
Won't work. You need to provide 100 as a second argument:
RunConsoleCommand("impulse", "100")[/QUOTE]
wait has been removed a long time ago.
[QUOTE=iRzilla;26514984]alias spam "impulse 100; wait 1; spam;"
[editline]6th December 2010[/editline]
@cunit
RunConsoleCommand("impulse 100")
Won't work. You need to provide 100 as a second argument:
RunConsoleCommand("impulse", "100")[/QUOTE]
I forgot about that.
[QUOTE=iRzilla;26515415]Server isn't allowed to use wait. Client is.[/QUOTE]
[img_thumb]http://imageflock.com/img/1292020928.jpg[/img_thumb]
Yep looks like it works just fine for the client
Sorry, you need to Log In to post a reply to this thread.