Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function QueueOnLogut(event, player)
- local GUID = player:GetGUID()
- if QueueAlliance:Has(GUID) or QueueHorde:Has(GUID) then
- if (player:GetTeam() == 0) then
- QueueAlliance:Remove(GUID)
- player:RemoveAura(32609)
- print("[Queue System] Player "..player:GetName().." Leave Queue")
- else
- QueueHorde:Remove(GUID)
- player:RemoveAura(32610)
- print("[Queue System] Player "..player:GetName().." Leave Queue")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement