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

From BZFlagWiki
Jump to navigation Jump to search
New page: {{apicall | name = bz_getPlayerCurrentState | description = Gets the specified player's current state. This includes information about how fast they're traveling, if they're in ...
 
Zehra (talk | contribs)
redirect, since functions are in official docs
Tag: New redirect
 
Line 1: Line 1:
{{apicall
#REDIRECT [[Category:BZFS API Docs]]
| name          = bz_getPlayerCurrentState
| description  = Gets the specified player's current state. This includes information about how fast they're traveling, if they're in the air, if they're rotating, and more.
 
A player's state changes very frequently (since players are typically on the move, fighting, and jumping, just to name a few), so the data obtained from this method won't be valid for very long.
| param1        = playerID
| param1type    = int
| param1desc    = The id of the player to get the state for
| param2        = state
| param2type    = bz_PlayerUpdateState&
| param2desc    = A bz_PlayerUpdateState to put the information of the player specified by <tt>playerID</tt> into
}}

Latest revision as of 01:35, 26 November 2025