Skip to content

function getPlayerBodyStateFlags (client-side)

Available since version: 0.2.1.9

This function will return player/npc bodystate and it's modifier flags e.g: if player is currently burning or if its transformed.

Declaration

int|null getPlayerBodyStateFlags(int id)

Parameters

  • int id: the player id.

Returns int|null

the player bodystate or null if player isn't spawned. For more information see BodyStates and BodyState Flags.