This wiki is archived and useful information is being migrated to the main bzflag.org website
bz removePlayerFlag
From BZFlagWiki
Revision as of 03:02, 28 January 2013 by Khonkhortisan (Talk | contribs) (rewording to not call a player "it", but "who")
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 bool bz_removePlayerFlag ( int playerID );
Parameters
name | type | value description |
---|---|---|
playerId | int | the player whose flag is to be removed |
Description
This API function forces the specified player to drop the flag that is currently carried. The flag will be reset following the standard flag spawn logic.