bz flagPlayer

From BZFlagWiki
Revision as of 07:46, 26 September 2007 by Ts (Talk | contribs) (Undo revision 3331 by (Talk))

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.


BZF_API int bz_flagPlayer ( int flag );


name type value description
flag int the flag ID to search for


This API function return the playerID of the player that is carrying the specified flag. If the flag is on the ground, it will return -1