This will show you, your max mana and hp
Lua:
function onSay(cid, words, param)
doPlayerSendTextMessage(cid,20,"Your Maximum Health is "..getCreatureMaxHealth(cid)..", And Your Maximum Mana is "..getCreatureMaxMana(cid)..".")
return 1
end