This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Functions (API)
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
}} | }} | ||
− | {{BZFS_API_Doc | + | {{BZFS_API_Doc}} |
Line 49: | Line 49: | ||
2.3+ | 2.3+ | ||
BZF_API bool [[bz_isPlayerPaused]] ( int playerID ); | BZF_API bool [[bz_isPlayerPaused]] ( int playerID ); | ||
− | |||
BZF_API bool [[bz_getPlayerCurrentState]] ( int playerID, bz_PlayerUpdateState &state ); | BZF_API bool [[bz_getPlayerCurrentState]] ( int playerID, bz_PlayerUpdateState &state ); | ||
BZF_API bool [[bz_getPlayerSpawnAtBase]] ( int playerId ); | BZF_API bool [[bz_getPlayerSpawnAtBase]] ( int playerId ); | ||
− | |||
BZF_API void [[bz_setPlayerSpawnAtBase]] ( int playerId, bool base ); | BZF_API void [[bz_setPlayerSpawnAtBase]] ( int playerId, bool base ); | ||
? | ? | ||
Line 83: | Line 81: | ||
BZF_API bool [[bz_validAdminPassword]] ( const char* passwd ); | BZF_API bool [[bz_validAdminPassword]] ( const char* passwd ); | ||
BZF_API bool [[bz_setPlayerOperator]] ( int playerId ); | BZF_API bool [[bz_setPlayerOperator]] ( int playerId ); | ||
+ | BZF_API bool [[bz_setPlayerSpawnable]] ( int playerID, bool spawn ); | ||
+ | BZF_API bool [[bz_isPlayerSpawnable]] ( int playerID ); | ||
? | ? | ||
BZF_API bool [[bz_setPlayerLimboMessage]]( int playerID, const char* text ); | BZF_API bool [[bz_setPlayerLimboMessage]]( int playerID, const char* text ); | ||
Line 154: | Line 154: | ||
BZF_API void [[bz_reloadUsers]] (); | BZF_API void [[bz_reloadUsers]] (); | ||
BZF_API void [[bz_reloadHelp]] (); | BZF_API void [[bz_reloadHelp]] (); | ||
− | |||
BZF_API int [[bz_getPlayerCount]] ( void ); | BZF_API int [[bz_getPlayerCount]] ( void ); | ||
BZF_API bool [[bz_getShotMismatch]] ( void ); | BZF_API bool [[bz_getShotMismatch]] ( void ); | ||
Line 271: | Line 270: | ||
BZF_API bool [[bz_setTimeLimit]] ( float timeLimit ); | BZF_API bool [[bz_setTimeLimit]] ( float timeLimit ); | ||
BZF_API float [[bz_getTimeLimit]] ( void ); | BZF_API float [[bz_getTimeLimit]] ( void ); | ||
− | |||
BZF_API bool [[bz_isTimeManualStart]] ( void ); | BZF_API bool [[bz_isTimeManualStart]] ( void ); | ||
BZF_API bool [[bz_isCountDownActive]] ( void ); | BZF_API bool [[bz_isCountDownActive]] ( void ); | ||
BZF_API bool [[bz_isCountDownInProgress]] ( void ); | BZF_API bool [[bz_isCountDownInProgress]] ( void ); | ||
BZF_API bool [[bz_isCountDownPaused]] ( void ); | BZF_API bool [[bz_isCountDownPaused]] ( void ); | ||
− | |||
BZF_API void [[bz_pauseCountdown]] ( const char *pausedBy ); | BZF_API void [[bz_pauseCountdown]] ( const char *pausedBy ); | ||
− | |||
BZF_API void [[bz_resumeCountdown]] ( const char *resumedBy ); | BZF_API void [[bz_resumeCountdown]] ( const char *resumedBy ); | ||
− | |||
BZF_API void [[bz_startCountdown]] ( int delay, float limit, const char *byWho ); | BZF_API void [[bz_startCountdown]] ( int delay, float limit, const char *byWho ); | ||
− | |||
BZF_API void [[bz_cancelCountdown]] ( const char *canceledBy ); | BZF_API void [[bz_cancelCountdown]] ( const char *canceledBy ); | ||
Line 398: | Line 392: | ||
== See also == | == See also == | ||
− | + | [[BZFS API]] | |
− | + | ||
− | + | [[plug-ins]] | |
[[Category:BZFS_API_Functions]] | [[Category:BZFS_API_Functions]] |