|BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.|
The bz_eAllowCTFCapEvent is an API event that is called each time a flag is about to be captured.
bz_eAllowCTFCaptureEvent returns the bz_AllowCTFCaptureEventData_V1 data class.
|playerCapping||int||The ID of the player making the capture|
|teamCapped||bz_eTeamType||The team making the capture|
|teamCapping||bz_eTeamType||The team whose flag is being captured|
|pos||float||The position of the player|
|rot||float||The direction the player is facing|
|allow||bool||Whether or not to allow the capture|
|eventTime||double||The server time at which the event occurred (in seconds).|