Skip to content

PlayerArrestedPayload

What playerArrested gets: the payload a handler receives.

type PlayerArrestedPayload = {
player: PlayerSnapshot; position: Vector3; copNetworkId: number | null; isHandledByGamemode: boolean;
};
Field Type Description
player PlayerSnapshot The player.
position Vector3 Where they were arrested.
copNetworkId number | null The network ID of the cop who arrested them, or null when the server does not know that cop.
isHandledByGamemode boolean true: no Busted screen, the player is still there and you decide. false: the game busts them.