Garry's Mod

Garry's Mod

Ocen: 269
S37K Lua Library - make addons easier
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build, Fun
Rozmiar pliku
Zamieszczono
Zaktualizowano
8.465 KB
28 kwietnia 2017 o 12:40
17 stycznia 2022 o 10:34
Listy zmian: 14 ( zobacz )

Zasubskrybuj, aby pobrać
S37K Lua Library - make addons easier

Opis
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.
Komentarzy: 12
kuzukuzu26 2 kwietnia 2023 o 7:34 
K??KNKN
Jduke 7 listopada 2022 o 4:46 
what happened to storm's dynamic tornadoes
Toxic_Trap 16 sierpnia 2022 o 19:36 
a beard design @MuriloBR
Miguelillo948 6 sierpnia 2022 o 11:54 
You better not know
Murilo 5 sierpnia 2022 o 20:04 
whats a goatse
丂丨尺乇几卩ㄥ卂ㄚ乙 2 sierpnia 2022 o 6:20 
phew
storm37000  [autor] 1 sierpnia 2022 o 18:54 
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 lipca 2022 o 12:12 
does this have a goatse, im just checking
djsmallz2009 1 kwietnia 2021 o 3:36 
very cool
Electronic_Shadows 10 lipca 2020 o 20:27 
cool :ppg_knife: