function matrix(thePlayer)
if exports.global:isPlayerHeadAdmin( thePlayer ) then
local x, y, z, lx, ly, lz = getCameraMatrix(thePlayer)
outputChatBox( tostring(x) .. ", " ..
tostring(y) .. ", " ..
tostring(z) .. ", " ..
tostring(lx) .. ", " ..
tostring(ly) .. ", " ..
tostring(lz), thePlayer)
end
end
addCommandHandler ( "matrix", matrix )
You should see what that outputs.
It might be best if people actually read the wiki page and learn the command syntax of functions before trying to help people with their "knowledge".