🌲Trees

Table to work with list of trees.

Count(): integer

Return size of tree list.


Get(index: integer): CTree|nil

Name
Type
Description

index

integer

Index of tree in cheat list.

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


GetAll(): CTree[]

Return all trees in cheat list.


InRadius(pos: Vector, radius: number, active [?]: boolean): CTree[]

Name
Type
Description

pos

Position to check.

radius

number

Radius to check.

active [?]

boolean

Active state to check. (default: true)

Return all trees in radius.


Contains(tree: CTree): boolean

Name
Type
Description

tree

Tree to check.

Check tree in cheat list.

Last updated