Skip to main content

Contains

Returns a true/false value indicating if the provided player is in the list.

Syntax

Contains @player_list @searched_player

Returns

bool value

Arguments

NameRequiredTypeDescription
player listYesPlayer variable (e.g. @all, @classDPlayers)The variable that will be checked if it contains the player.
searched playerYesPlayer value e.g. @player, with EXACTLY 1 player.

On a running server

Use serhelp Contains to inspect the reference generated by your installed SER version.