Garry's Mod
Оценок: 305
S37K Lua Library - make addons easier
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Контент сервера
Метки дополнений: Стройка, Развлечение
Размер файла
Добавлен
Изменён
8.465 KB
28 апр. 2017 г. в 12:40
17 янв. 2022 г. в 10:34
Обновлений: 14 (просмотреть)

Подпишитесь, чтобы загрузить
S37K Lua Library - make addons easier

Описание
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.
Комментариев: 12
tristan 10 апр в 14:50 
very nice
kuzukuzu26 2 апр. 2023 г. в 7:34 
K??KNKN
Jduke 7 ноя. 2022 г. в 4:46 
what happened to storm's dynamic tornadoes
Toxic_Trap 16 авг. 2022 г. в 19:36 
a beard design @MuriloBR
Murilo 5 авг. 2022 г. в 20:04 
whats a goatse
卂ᐯ乇尺卂Ꮆ乇ㄥㄚ 2 авг. 2022 г. в 6:20 
phew
storm37000  [создатель] 1 авг. 2022 г. в 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 июл. 2022 г. в 12:12 
does this have a goatse, im just checking
djsmallz2009 1 апр. 2021 г. в 3:36 
very cool
Electronic_Shadows 10 июл. 2020 г. в 20:27 
cool :ppg_knife: