Download moonloader/lib/sampapi/CVector.lua from nttl050611/GTASA: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/sampapi/CVector.lua
- Command line
-
hf download hf://datasets/nttl050611/GTASA/moonloader/lib/sampapi/CVector.lua
-
curl -L -o CVector.lua https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/sampapi/CVector.lua
532 Bytes
| --[[ | |
| Project: SAMP-API.lua <https://github.com/imring/SAMP-API.lua> | |
| Developers: imring, LUCHARE, FYP | |
| Special thanks: | |
| SAMemory (https://www.blast.hk/threads/20472/) for implementing the basic functions. | |
| SAMP-API (https://github.com/BlastHackNet/SAMP-API) for the structures and addresses. | |
| ]] | |
| local sampapi = require 'sampapi' | |
| local shared = sampapi.shared | |
| local ffi = require 'ffi' | |
| shared.require 'CVector' | |
| shared.ffi.cdef[[ | |
| struct SCVector { | |
| float x, y, z; | |
| }; | |
| typedef struct SCVector SCVector; | |
| ]] |