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

From BZFlagWiki
Jump to navigation Jump to search
AAA (talk | contribs)
use better wiki markup
Zehra (talk | contribs)
redirect, since functions are in official docs
Tag: New redirect
 
Line 1: Line 1:
{{BZFS_API_Doc}}{{BZFS_API_Funcs}}
#REDIRECT [[Category:BZFS API Docs]]
 
==Variations==
* bool bz_sendTextMessagef(int from, [[bz_eTeamType]] to, const char *fmt, ...)
* bool bz_sendTextMessagef(int from, int to, const char *fmt, ...)
 
==Parameters==
; from : The player ID that the message will appear to be from. This must be a valid player ID or BZ_SERVER.
; to : Specifies the receiver[s] of the message.  This must be either a valid player ID, if the message is to be sent to a single player; a [[bz_eTeamType]] enumeration, if the message is to be sent to all members of the specified team; or BZ_ALLUSERS, if the message is to be sent to all connected players.
; fmt : A printf-style format string.
; ... : The parameters for the format string.
 
==Description==
This API function sends a message to a single player, all players, or all players on a team using printf-style formatting.
 
==See Also==
[[bz_sendTextMessage]]

Latest revision as of 00:52, 12 November 2025