👥Players

Table to work with player list.

Count(): integer

Return size of player list.


Get(index: integer): CPlayer|nil

Name
Type
Description

index

integer

Index of player in cheat list.

Return player by index in cheat list. Not the same as in-game index.


GetAll(): CPlayer[]

Return all players in cheat list.


Contains(player: CPlayer): boolean

Name
Type
Description

player

Player to check.

Check player in cheat list.


GetLocal(): CPlayer

Return local player.

Last updated