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
No edit summary
Line 1: Line 1:
sitrotrocm
vilialpasdr
vilialpasdr
{{BZFS_API_Doc}}
{{BZFS_API_Doc}}

Revision as of 20:59, 26 September 2007

sitrotrocm vilialpasdr

BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.
BZFS API Function. This page documents a BZFS_API Function, that is provided by the BZFS game server for plug-ins to call.


Prototype

BZF_API void bz_resetFlags ( bool onlyUnused );

Parameters

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.