Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myMod = require("myMod")
- Methods = {}
- Methods.Morph = function(pid)
- Players[pid]:LoadSpellbook()
- local isVampire = false
- if Players[pid].data.spellbook ~= nil then
- for i, v in pairs(Players[pid].data.spellbook) do
- print(i .. " " .. v)
- end
- end
- if isVampire ~= true then
- table.insert(Players[pid].data.spellbook, spell)
- Players[pid]:LoadSpellbook()
- tes3mp.SendMessage(pid, message, false)
- else
- tes3mp.LogMessage(2, "Check if this runs")
- end
- return false
- end
- return Methods
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement