Garry's Mod

Garry's Mod

TTT: Lootable Props - Chance for items to drop when breaking crates
12 Comments
Jiyū to anzen 7 Dec, 2024 @ 2:44am 
ykw I'll do it myself
Jiyū to anzen 17 Jun, 2024 @ 4:19pm 
we need a fixed sandbox version
Corvatile 22 Nov, 2023 @ 3:34pm 
Seems to spawn items no matter what prop gets broken now, not just crates. I think it worked fine before.
Snorps 22 Feb, 2022 @ 9:49am 
Really doesn't look amateur to me, though the code has had all it's line breaks removed.
Estrogen Enjoyer 28 Feb, 2019 @ 10:22am 
hey, this shits broken and the code isnt spaced at all. It's returning a bunch of nil values linking back to the create functions of the script but I can't find it because it looks like an amateur coder vomited on this .lua
Terra 20 Jan, 2018 @ 4:07pm 
omly in TTT?
DeWomanizer 9000 18 Jul, 2017 @ 11:30am 
Make for Sandbox pls
Maxpowerammo 22 May, 2017 @ 11:59pm 
Could you make a version for Sandbox?
Bob 31 Oct, 2016 @ 5:49pm 
I know this was intended for TTT but, its still launchable on SandBox (See the first comment for error log).
Apparently; Trying to to create an entity 'entsCreate(l) tries to create an entity called l which returns 'nil'. Should be a string for (l) apparently. Could you help us up? Maybe Create a separate addon? Thanks in advance.
Postino 2 Sep, 2016 @ 7:01am 
You say that ttt_lootable_only_appropriate_props is set to 1 by default, yet when I break watermelons ammo shows up? It's a great addon, by the way.
S.D.U AUS 22 Aug, 2016 @ 9:20am 
;-; i hoped it would work in sandbox
The SpyCy Duo 9 Jul, 2016 @ 7:14pm 
Dosen't seem to work in Sandbox mode. Objects drop nothing, and give this Error:

[ERROR] lua/autorun/server/sv_ttt_lootable.lua:1: bad argument #1 to 'Create' (string expected, got nil)
1. Create - [C]:-1
2. i - lua/autorun/server/sv_ttt_lootable.lua:1
3. v - lua/autorun/server/sv_ttt_lootable.lua:1
4. old_hook_call - lua/includes/modules/hook.lua:84
5. unknown - lua/includes/modules/momo/compat.lua:23