Garry's Mod

Garry's Mod

Simple Useful Scripts
166 Comments
V92  [author] Aug 28 @ 10:30am 
You have to put an actual key there.
Godzillagt Aug 25 @ 9:57am 
i dont know how to do the bind thing for drop weapon i tryed typing bind <key> dropweapon in command and it didnt work
V92  [author] Oct 5, 2024 @ 11:58pm 
@garlic

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

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

Thanks. Fixed.
neen Oct 19, 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
. Oct 12, 2022 @ 8:39am 
i found out how good scripts
. Oct 12, 2022 @ 8:19am 
how do i disable 3rdp
Borys Sep 2, 2022 @ 12:44pm 
Thank you man😃
V92  [author] Aug 10, 2022 @ 9:32pm 
@konata

They drop from the player origin more or less as is. It's on the to-do list to have the throws be changed by the animation styles.
socrates mk.ii Aug 10, 2022 @ 9:16pm 
I think you could use the player's world space center instead of entity position so weapons properly "drop" on death without clipping to the ground
76561199274102019 Jun 9, 2022 @ 3:32pm 
B+
fantasybabydino Jun 2, 2022 @ 5:29am 
i like how the second to last gif is just him fuckin dissapearing
Trash boi Feb 25, 2022 @ 1:32am 
Thank mate
V92  [author] Feb 22, 2022 @ 5:46am 
@trash

Use "unbind"
Trash boi Feb 22, 2022 @ 1:38am 
help i cant unbind key to drop weapon pls help
Doc Nov 1, 2021 @ 4:12pm 
does this effect npcs?
celibat Apr 30, 2021 @ 8:49am 
this doesn't work well in multiplayer, use animation only works for the last connected player
V92  [author] Feb 28, 2021 @ 6:11pm 
@steel

Because +/- is only used for commands used while the key is being held. I didn't put a +/- in front of the command.

Read the text in the description. It literally says "dropweapon" for a reason.
Steel Rain Feb 28, 2021 @ 1:59pm 
Okay, I don't know what's going on but I'm back to it not working again

Unknown command: +drop
Unknown command: -drop
And also
Unknown command: +dropweapon
Unknown command: -dropweapon

Even after a fresh reinstallation of Gmod

These and the two collections at the bottom are the only mods I'm running rn
https://steamcommunity.com/sharedfiles/filedetails/?id=2406495586

Do you know of any incopatible mods?
V92  [author] Feb 25, 2021 @ 1:53am 
@steel

I changed the console command to "dropweapon" instead. That command should've been more specific anyway.
Steel Rain Feb 24, 2021 @ 8:05am 
nvm, confilcts with scenic NPCs
Steel Rain Feb 24, 2021 @ 5:33am 
I can't drop weapons anymore for some reason
Unknown command: +drop
Unknown command: -drop
V92  [author] Feb 19, 2021 @ 3:01am 
@buh

You'll like today's update. You should find some new options in the spawn menu, check the screenshots for an example.
FrenliFyr Jan 1, 2021 @ 6:58am 
its not working for me
PaynetotheMax May 28, 2020 @ 1:20am 
Is there a way to disable the use animation?
Alkyy May 9, 2020 @ 9:34am 
@jayden he has multiple weapons. 2 pistols and a pulse rifle
V92  [author] Apr 12, 2020 @ 3:45pm 
@jayden

What.
AsianFuison Apr 12, 2020 @ 2:01pm 
im sorry but in this video how come you drop alot and i did drop weapon and i droped one and the video droped alot ) : <
Solid Green Apr 6, 2020 @ 2:25pm 
When you die do you drop all weapons cuz I don’t want to drop my weps when I die
Geisteskrankenchan Jan 13, 2020 @ 6:58am 
Fair enough
V92  [author] Jan 13, 2020 @ 6:54am 
@geist

Could add a thing where you could throw everything out at once in a suitcase or something.
Geisteskrankenchan Jan 13, 2020 @ 6:37am 
"Added delay between dropping to prevent spam"
It was so fun to throw out everything you have at once :(
Bedwinger Nov 30, 2019 @ 8:03am 
sorry if i dont type good im dutch
Bedwinger Nov 30, 2019 @ 8:02am 
thanks V92
4 the anser
V92  [author] Nov 29, 2019 @ 9:38pm 
@edou

unbind <key>
Bedwinger Nov 29, 2019 @ 11:36am 
how to undo a bind
V92  [author] Nov 19, 2019 @ 1:52am 
@joe

Changed the description a bit. Does that help?
Spoony Toony Toyota Nov 19, 2019 @ 1:45am 
sorry help so i put bind/drop ?
Ayotark Oct 5, 2019 @ 8:54am 
help it says unknown command
V92  [author] Sep 29, 2019 @ 6:49am 
@erwin

Not this script specifically, no.
Obsolete Sep 29, 2019 @ 3:56am 
Is it possible to use in HL2?
Kawari Aug 11, 2019 @ 10:33am 
do npcs drop their gun if they take to much damage?
Burnitup16 Jun 15, 2019 @ 11:45am 
ok, I see what i did now, thank you
V92  [author] Jun 15, 2019 @ 10:33am 
@burn

Your video there was using chat commands. That's your issue.
Burnitup16 Jun 15, 2019 @ 10:08am 
yea I tried that