alt.Checkpoint constructor doesn't match typings (v1 compat)
Closed this issue · 1 comments
xxshady commented
xLuxy commented
Fixed in 82de999 - tested using the following code:
import altOld from 'alt-server';
const c = new altOld.Checkpoint(0, 0, 0, 0, 10, 10, 0, 0, 0, 0, 100);
alt.log('checkpint 1', c);
const c2 = new altOld.Checkpoint(0, { x: 0, y: 0, z: 0 }, 10, 10, new altOld.RGBA(255, 157, 0, 255), 100);
alt.log('checkpint 2', c2);