Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. function QueueOnLogut(event, player)
  2. local GUID = player:GetGUID()
  3. if QueueAlliance:Has(GUID) or QueueHorde:Has(GUID) then
  4. if (player:GetTeam() == 0) then
  5. QueueAlliance:Remove(GUID)
  6. player:RemoveAura(32609)
  7. print("[Queue System] Player "..player:GetName().." Leave Queue")
  8. else
  9. QueueHorde:Remove(GUID)
  10. player:RemoveAura(32610)
  11. print("[Queue System] Player "..player:GetName().." Leave Queue")
  12. end
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement