local vehpool = sampGetVehiclePoolPtr()
local pool = sampGetVehiclePoolPtr()
if getStructElement(pool, 0x3074 + carid * 4, 1) == 1 then
local this = ffi.cast('void*', getStructElement(pool, 0x1134 + carid * 4, 4))
ffi.cast('void(__thiscall*)(void* this, int c1, int c2)', sampGetBase() + 0xB0D90)(this, carcolor1, carcolor2)
-- ffi.cast('void(__thiscall*)(void* this)', sampGetBase() + 0xB0DE0)(this)
end