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

From BZFlagWiki
Jump to navigation Jump to search
Allejo (talk | contribs)
Create page
 
Zehra (talk | contribs)
redirect, since functions are in official docs
Tag: New redirect
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{apicall
#REDIRECT [[Category:BZFS API Docs]]
| name          = bz_getPlayerBySlotOrCallsign
| description  = Gets the information for the player with the specified slot index or callsign. The returned player info won't update as the game progresses. If you need new updates on the player's info, you can call [[bz_updatePlayerData]].
 
After you're done with the player info returned from this method, you must release it by calling [[bz_freePlayerRecord]].
| version = 2.4.3
| param1        = name
| param1type    = const char*
| param1desc    = The callsign of a player of the slot number (e.g. #2) of the player '''with''' the pound sign (#)
| returntype    = bz_BasePlayerRecord*
| returns      = an instance of [[bz_BasePlayerRecord]] that contains the player in question's information
}}

Latest revision as of 01:03, 26 November 2025