o_O
try this
Code:
SANCTUARY_NPC_ID = 993355;
function MallSanctuary_OnSpawn(unit, event)
unit:Mount(22474);
unit:RegisterEvent("UnflagAll", 1000, 0);
end
function UnflagAll(unit, event)
local InRangePlayers = unit:GetInRangePlayers();
for a, plr in pairs(InRangePlayers) do
if plr:IsFFAPvPFlagged() == false then plr:ToggleFFAPvPFlag(); end
end
end
RegisterUnitEvent(SANCTUARY_NPC_ID, 18, "MallSanctuary_OnSpawn");
If that still crashes your server, it's a problem with GUA not my script.
Post the crashdump, too? pastebin it and pm me it