Skip to main content

Player::action

This property returns player action.

Note: this property is read-only.

List of actions:

  • climbing
  • in_cover
  • aiming_from_cover
  • diving
  • entering_vehicle
  • exiting_vehicle
  • jumping
  • moving
  • moving_aiming
  • moving_reloading
  • parachuting
  • ragdoll
  • aiming
  • reloading
  • stopped

Example

```js if (player.action == 'in_cover') {

 player.outputChatBox('You are in the cover!');

} ```

See Also