Garry's Mod

Garry's Mod

1,309 ratings
Simple Useful Scripts
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
46.558 KB
3 Apr, 2013 @ 2:40pm
1 Aug, 2023 @ 9:19pm
22 Change Notes ( view )

Subscribe to download
Simple Useful Scripts

In 1 collection by V92
Essential Oils for GMod
23 items
Description
A collection of simple-yet-useful scripts I've made.

Includes
  • Drop weapon script with selectable animations
  • Drop weapon on death
  • Third-person use animations with selection animations
  • Silent kill command & server-side toggle
  • Vanilla suicide disabler
  • Knock function with server-side toggle & third-person animation
  • Function to remove all default HL2 items & weapons from maps
  • Easy to tweak options panel
  • Editable basic Jump Pad entity
  • Entity ID tool, for use in Lua

How To Use

Use the handy options panel on the right side of the spawn menu, under Options > V92 > Simple Useful Scripts, or use the commands directly in the console.

Use the "dropweapon" command to drop your weapon.
Use your "use" key on objects to display an animation in third-person.
Use the "killsilent" command to kill yourself without any death notices, sounds, or corpses.
Use the "knock" command when close to a surface to emit a knock-knock sound.
Use the "cleanupitems" command to cleanup all default map-spawned HL2 items or weapons.

How To Bind Via Console
bind <key> dropweapon bind <key> killsilent bind <key> knock bind <key> cleanupitems

License
This file is open source. You are allowed to edit & share any deviations you create, as long as you make any edits open source as well. A link back to this file somewhere in your description and crediting me is required.

Available on GitHub[github.com]
Popular Discussions View All (1)
0
18 May, 2022 @ 12:29pm
PINNED: The Feedback Loop
V92
164 Comments
V92  [author] 5 Oct, 2024 @ 11:58pm 
@garlic

Define "stop"
GarlicCrushr 5 Oct, 2024 @ 11:47pm 
how do you stop the drop weapon command
V92  [author] 1 Oct, 2024 @ 8:38pm 
@wolfer

It only works on point entities. Anything invalid of returning a value won't work.
WolfeR 1 Oct, 2024 @ 11:40am 
I cant shoot from Entity ID tool
LostSoul 22 Jan, 2024 @ 8:51am 
:steamthumbsup:
Naho-Garou 17 Dec, 2022 @ 5:09pm 
thank you so much, your bestest!:steamthumbsup:
V92  [author] 20 Oct, 2022 @ 6:32pm 
@neen

Thanks. Fixed.
neen 19 Oct, 2022 @ 10:30pm 
hi just letting you know that your hook for InitPostEntity "vntCrapItemCleanupLoaded" (at lua/autorun/sh_v92_useful-scripts.lua L#408) returns false and breaks all other hooks that use InitPostEntity by returning non nil
good goyim 12 Oct, 2022 @ 8:39am 
i found out how good scripts
good goyim 12 Oct, 2022 @ 8:19am 
how do i disable 3rdp