This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz ePlayerPauseRequestEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Mrapple (talk | contribs)
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_ePlayerPauseRequestEvent''' is an API event that is called each time a player wants to pause.
==Data==
'''bz_ePlayerPauseRequestEvent''' returns the '''bz_PlayerPauseRequestData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  |bz_ePlayerPauseRequestEvent
  |-
  |playerID
  |int
  |ID of the player who wants to pause
  |-
  |allow
  |bool
  |Wether or not to allow the pause
  |-
  |reason
  |[[bz_APIString]]
  |The reason if pause request is denied. Default: pause request denied
  |}
 
==Usage==
Data retured can be modified.

Latest revision as of 03:18, 24 November 2025