This wiki is archived and useful information is being migrated to the main bzflag.org website

bz resetFlag

From BZFlagWiki
Jump to: navigation, search
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[edit]

BZF_API bool bz_resetFlag ( int flag );

Parameters[edit]

name type value description
flag int the flag to reset

Description[edit]

This API function reset (respawn) the flag corresponding to the specified flag ID. If the flag is carried by a player, the player will loose the flag.