I seem to be having issues with this script.
Code:
local hunterspells = {136, 883, 982, 1462, 1515, 2641, 6991}
local Spells = {201, 202, 264}
local Items = {97300, 97302, 97303, 97304, 97305}
function OnFirstEnterWorld(event, plr)
plr:SetPhase(1)
plr:SetStanding(1161, 3000)
plr:SetStanding(1163, 0)
plr:StartQuest(30000)
plr:AddItem(Items, 1)
plr:LearnSpells(Spells)
--Hunter Beast Spells--
pClass = plr:GetPlayerClass()
if pClass == "Hunter" then
plr:LearnSpells(hunterspells)
end
end
RegisterServerHook(3, OnFirstEnterWorld)
When I run the server, SetStanding and SetPhase work fine, but everything else doesn't...I'm a tad confused as to why.
Thanks in advanced.