Anyway, the original command gets... "[File Path]....attempt to concatenate local 'lz' (A nil value)"
Original Command Code:
function matrix(thePlayer) -- First define the function
if exports.global:isPlayerHeadAdmin( thePlayer ) then
local x, y, z, lx, ly, lz = getCameraMatrix(thePlayer)
outputChatBox(""..x..", "..y..", "..z..", "..lx..", "..ly..", "..lz.."", thePlayer)
end
end
addCommandHandler ( "matrix", matrix )