WoW:API ForceLogout: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(added to protected category)
(not actually protected)
Line 1: Line 1:
{{protectedapi|?|}}
{{wowapi}}__NOTOC__
{{wowapi}}__NOTOC__
Instantly logs you out, bypassing the usual 20 seconds countdown
Equivalent to {{api|ForceQuit}}: logs the player out immediately, even if outside a resting zone.
  ForceLogout()
  ForceLogout()


===Takes===
== Notes ==
: Nothing
This function does not work for ordinary players; instead, a message saying "You do not have permission to perform that action" is returned from the server.
 
===Returns===
: Nothing
 
===Details===
: This function will only work for GMs to prevent normal players from escaping battle by logging out.

Revision as of 23:28, 10 June 2009

WoW API < ForceLogout

Equivalent to ForceQuit: logs the player out immediately, even if outside a resting zone.

ForceLogout()

Notes

This function does not work for ordinary players; instead, a message saying "You do not have permission to perform that action" is returned from the server.