Download moonloader/lib/sampapi/CMatrix.lua from nttl050611/GTASA: direct link, hf CLI and curl.
- Browser
- Download file 661 Bytes
-
https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/sampapi/CMatrix.lua
- Command line
-
hf download hf://datasets/nttl050611/GTASA/moonloader/lib/sampapi/CMatrix.lua
-
curl -L -o CMatrix.lua https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/sampapi/CMatrix.lua
661 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 SCMatrix { | |
| SCVector right; | |
| unsigned long flags; | |
| SCVector up; | |
| float pad_u; | |
| SCVector at; | |
| float pad_a; | |
| SCVector pos; | |
| float pad_p; | |
| }; | |
| typedef struct SCMatrix SCMatrix; | |
| ]] |