Download Luar/moonloader/lib/SA-MP API/kernel.lua from andy-gg/LUAR_RP_PC: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/SA-MP%20API/kernel.lua
- Command line
-
hf download 'hf://datasets/andy-gg/LUAR_RP_PC/Luar/moonloader/lib/SA-MP API/kernel.lua'
-
curl -L -o kernel.lua https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/SA-MP%20API/kernel.lua
384 Bytes
| --[[ | |
| Project: SA-MP API | |
| Author: LUCHARE | |
| Website: BlastHack.Net | |
| Copyright (c) 2018 | |
| ]] | |
| local module = {ffi = require 'ffi'} | |
| function module.safely_include(mod) | |
| if not package.loading then package.loading = {} end | |
| if package.loading[mod] == nil then | |
| package.loading[mod] = true | |
| local v = {require(mod)} | |
| package.loading[mod] = nil | |
| return unpack(v) | |
| end | |
| end | |
| return module | |