File size: 661 Bytes
d7c5875 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | --[[
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;
]] |