Thanks for trying to help,
In modules in general, along with other functions such as: 'g_game.getLocalPlayer():getMana()' which returns exactly the value, unlike getVocation()... being that, even through the terminal, using a print(g_game.getLocalPlayer():getVocation()) the return is 0