Can someone just give me an example code to show it?
Right now I am using
outputChatBox( "Your current money: $" .. exports.global:getMoney( thePlayer ), thePlayer )
-- camera matrix -- client sided
function matrix( )
if exports.global:isPlayerHeadAdmin( thePlayer ) then
local a, b, c, d, e, f = getCameraMatrix( )
outputChatBox(a ..", ".. b ..", ".. c ..", ".. d ..", ".. e ..", ".. f, 255, 194, 14)
end
end
addCommandHandler("matrix", matrix)
Try that