RaweTrip
  • Welcome
  • Official Discord
  • Useful information
    • πŸ”ŒFor beginners
    • β™ŸοΈCommon knowledge
    • πŸ“šExamples
      • βš™οΈTab system
      • βš™οΈUI Interaction
      • βš™οΈClantag
      • βš™οΈWireframe smoke
  • documentation
    • ⛓️Common
      • πŸ“žCallbacks list
    • βš™οΈVariables
      • πŸ‘€esp
      • πŸ“œplist
      • πŸ”«weapon
      • ⚑vector
      • 🎨color
      • πŸŽ“cheat
      • πŸ’»ui
      • πŸ™οΈrender
      • πŸšΆβ€β™‚οΈentity
      • 🌎globalvars
      • πŸ› οΈengine
      • πŸ”©utils
      • πŸ–₯️console
      • πŸ”‘base64
      • πŸ“ bit
      • πŸ—ƒοΈfile
      • πŸ“Άhttp
      • βœ‰οΈchat
      • 〽️animate
      • 🧱materials
      • πŸ”§steam
      • ✈️trace
      • πŸ”—interfaces
        • πŸ’‘ieffects
        • 🧬precache
        • πŸ’³model_info
    • πŸ”’Enumerations
      • 🎞️enum_frames
Powered by GitBook
On this page
  • Functions:
  • execute_client_cmd
  • print
  • print_color
  • get_int
  • get_float
  • get_bool
  • get_string
  • set_int
  • set_float
  • set_bool
  • set_string
  1. documentation
  2. Variables

console

Functions:

execute_client_cmd

console.execute_client_cmd(command: string)

Name
Type
Description

command

string

command

Executes a ConCommand.

print

console.print(message: string)

Name
Type
Description

message

string

message

Outputs text to the console.

print_color

console.print_color(message: string, message_color: color)

Name
Type
Description

message

string

message

message_color

color

message_color

Outputs text to the console with a specific color.

get_int

console.get_int(name: string): number

Returns the ConVar int value.

get_float

console.get_float(name: string): number

Returns the ConVar float value.

get_bool

console.get_bool(name: string): boolean

Returns the ConVar boolean value.

get_string

console.get_string(name: string): string

Returns the ConVar string value.

set_int

console.set_int(name: string, var: number)

Name
Type
Description

name

string

-

var

number

-

Sets the ConVar int value.

set_float

console.set_float(name: string, var: number)

Name
Type
Description

name

string

-

var

number

-

Sets the ConVar float value.

set_bool

console.set_bool(name: string, var: boolean)

Name
Type
Description

name

string

-

var

boolean

-

Sets the ConVar boolean value.

set_string

console.set_string(name: string, var: string)

Name
Type
Description

name

string

-

var

string

-

Sets the ConVar string value.

PreviousutilsNextbase64

Last updated 2 years ago

βš™οΈ
πŸ–₯️