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 eAllowSpawn: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Xalendare (talk | contribs)
Data: Added eventTime field.
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_eAllowSpawn''' is an API event called before a player respawns.
 
==Data==
'''bz_eAllowSpawn''' returns the '''bz_AllowSpawnData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType
  |[[Event(API)|bz_eEventType]]
  |bz_eAllowSpawn
  |-
  |playerID
  |int
  |The ID of the player that will spawn.
  |-
  |team
  |[[bz_eTeamType]]
  |The team the player belongs to.
  |-
  |handled
  |bool
  |
  |-
  |allow
  |bool
  |Set to false if the player should not be allowed to spawn.
  |-
  |eventTime
  |double
  |The server time the event occurred (in seconds.)
  |}
 
==Uses==
 
[[Category:BZFS_API_Docs]]
[[Category:BZFS_API_Events]]

Latest revision as of 02:08, 27 November 2025