Skip to content

five-on-it / packages/ai/src/police / bustPlayer

Function: bustPlayer() ​

bustPlayer(ai, client): boolean

Defined in: packages/ai/src/police.ts:541

The debug command bust: the player is arrested where they stand as the police would arrest them (a prison transport when they have a crew and four stars or more, M8). Returns whether there was such a wanted player.

Parameters ​

ai ​

AiWorld

client ​

number

Returns ​

boolean