GetPlayerAction

From NPC for VCMP 0.4 Servers
Revision as of 06:05, 9 November 2023 by Habi (talk | contribs) (Created page with "{{Welcome| desc=This will return the action of the a player.| params=<syntaxhighlight lang="lua">( playerId)</syntaxhighlight> <poem>::playerId: The ID of the player whose action is to be obtained. </poem>| retvals=The action of player as integer. If the target player does not exist, it will return 0.| relfuncs=*GetPlayerState *GetPlayerKeys }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
This will return the action of the a player.


Parameters:

( playerId)

playerId: The ID of the player whose action is to be obtained.


Return Values:
The action of player as integer. If the target player does not exist, it will return 0.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.