Install addon and CC: Tweaked. ShipAPI commands works good but ExtendedShipAPI(https://github.com/TechTastic/CC-VS/wiki/ExtendedShipAPI) dont working, I tried to put the code into a function and there were no more errors, but I still don’t understand what I’m doing wrong, that is, it just doesn’t output anything
Here code:
function applyInvariantForce(xForce, yForce, zForce)
local mass = ship.getMass()
local a = ship.applyInvariantForce(0, 1000 * mass, 0)
end
Now i tryed next one:
function applyInvariantForce(xForce, yForce, zForce)
local mass = ship.getMass()
ship.applyInvariantForce(0, 1000 * mass, 0)
end
prinf(applyInvariantForce)
And it works but i have “nil” result