Garry's Mod

Garry's Mod

259 ratings
S37K Lua Library - make addons easier
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build, Fun
File Size
Posted
Updated
8.465 KB
28 Apr, 2017 @ 12:40pm
17 Jan, 2022 @ 10:34am
14 Change Notes ( view )

Subscribe to download
S37K Lua Library - make addons easier

Description
A few useful functions that i use in my addons, you can use them to for your addons, just make sure to list this as a dependency.

Shared:
* S37K_plotOnBell( INPUT ) - It returns values along a bell curve from 0 - 1 - 0 with an input of 0 - 1. There is a 2nd optional argument to this function, it adjusts the sharpness of the curve, the default is 0.265.

Server:
* S37K_mapbounds - A table that contains the bounds of the map. There will usually only ever be 1 entry in the table, but there could be more if the map is split up into distinct sections with its own skybox and player spawn points / teleports.

More coming soon...

Image: Copyright - Lua.org.
13 Comments
kuzukuzu26 2 Apr, 2023 @ 7:34am 
K??KNKN
Michael2911 7 Nov, 2022 @ 5:48am 
@Jduke They removed it probably because it had a lot of bugs and errors
Jduke 7 Nov, 2022 @ 4:46am 
what happened to storm's dynamic tornadoes
Toxic_Trap 16 Aug, 2022 @ 7:36pm 
a beard design @MuriloBR
Michael2911 6 Aug, 2022 @ 11:54am 
You better not know
Murilo 5 Aug, 2022 @ 8:04pm 
whats a goatse
丂丨尺乇几卩ㄥ卂ㄚ乙 2 Aug, 2022 @ 6:20am 
phew
storm37000  [author] 1 Aug, 2022 @ 6:54pm 
no, not even sure how that "virus" gets into anything other than if a dev manually adds it. This hasn't been updated recently when that was going around anyways.
丂丨尺乇几卩ㄥ卂ㄚ乙 30 Jul, 2022 @ 12:12pm 
does this have a goatse, im just checking
djsmallz2009 1 Apr, 2021 @ 3:36am 
very cool