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

From BZFlagWiki
Jump to navigation Jump to search
No edit summary
Zehra (talk | contribs)
redirect, since functions are in official docs
Tag: New redirect
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
vilialpasdr
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Doc}}
{{BZFS_API_Funcs}}
==Prototype==
BZF_API void bz_resetFlags ( bool onlyUnused );
==Parameters==
{| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |onlyUnused
  |bool
  |only reset non-player flags
  |-
  |shotType
  |[[bz_eShotType]]
  |the new shot type to assign to the player
  |}
 
==Description==
This API function will force all flags to be reset and respawned. If the onlyUnused parameter is true, then flags carried by players will not be reset, otherwise all flags will be reset.

Latest revision as of 03:46, 10 November 2025