https://github.com/autumngmod/cream-std
Extension std for cream
https://github.com/autumngmod/cream-std
gmod gmod-lua
Last synced: 3 months ago
JSON representation
Extension std for cream
- Host: GitHub
- URL: https://github.com/autumngmod/cream-std
- Owner: autumngmod
- Created: 2025-03-14T11:39:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-14T11:43:43.000Z (10 months ago)
- Last Synced: 2025-03-14T12:31:25.745Z (10 months ago)
- Topics: gmod, gmod-lua
- Language: Lua
- Homepage: https://smokingplaya.ru/
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cream-std
``cream-std`` is a library that adds some std for [cream](https://github.com/autumngmod/cream)
# Installation
Via [libloader](https://github.com/autumngmod/libloader)
```bash
lib install autumngmod/cream-std
```
# Stds
| Name of std | Description |
| --- | --- |
| ``cream.localplayer`` | Adds the ability to get LocalPlayer data |
| ``cream.darkrp`` (wip) | Adds the ability to interact with Falco's DarkRP methods |
| ``cream.focus`` | Allows you to control the focus of the WebUI |
# Usage
> [!NOTE]
> You can read about ``std`` in cream [here](https://github.com/autumngmod/cream/blob/main/.docs/api/std.md)
To use some ``std`` in the WebUI, just import it into WebView.
```lua
local view = cream:new("example")
view:importStd("cream.localplayer")
view:importStd("cream.darkrp")
view:load()
```