Skip to content

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

Function: setWantedStars() ​

setWantedStars(ai, client, stars): boolean

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

Sets a player's stars outright (a mission's setWanted, the debug command): the police know where the player is now. Returns whether there are police and such a player.

Parameters ​

ai ​

AiWorld

client ​

number

stars ​

number

Returns ​

boolean