_G

print

print(text: string[, ...])

Name
Type
Description

text

string

Text to print into the console

...

any

Optional. The arguments to concatenate with text.

print_chat(text: string[, player_name: string])

Name
Type
Description

text

string

Text to print into the in-game chat

player_name

string

Optional. The name of the target player. If not, print to all players.

Prints the text to the in-game chat.

print_title(title: string, sub_title: string[, player_name: string, fade_in:number, stay:number, fade_out:number])

Name
Type
Description

text

string

Text to print to the title

sub_title

string

Text to print to the sub title

player_name

string

Optional. The name of the target player. If not, print to all players.

fade_in

number

Optional. Fade in time (tick). Defaults to 15.

stay

number

Optional. Stay time (tick). Defaults to 70.

fade_out

number

Optional. Fade out time (tick). Defaults to 15.

Prints the text to the title.

print_actionbar(text: string[, player_name: string])

Name
Type
Description

text

string

Text to print to the action bar

player_name

string

Optional. The name of the target player. If not, print to all players.

Prints the text to the action bar.

Last updated