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

From BZFlagWiki
Jump to navigation Jump to search
New page: {{BZFS_API_Doc}} {{BZFS_API_Funcs}} ==Prototype== BZF_API bool bz_removePlayerFlag ( int playerID ); ==Parameters== {| border="1" cellpadding="20" cellspacing="0" !name !type !value ...
 
rewording to not call a player "it", but "who"
 
Line 11: Line 11:
   |playerId  
   |playerId  
   |int  
   |int  
   |the player that is to have it's flag removed
   |the player whose flag is to be removed
   |}
   |}


==Description==
==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.
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.

Latest revision as of 03:02, 28 January 2013

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.