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:
  • append
  • write
  • read
  • exists
  • create_dir
  • get_files_from_dir
  1. documentation
  2. Variables

file

Functions:

append

file.append(path: string, data: string)

Name
Type
Description

path

string

path

data

string

data

Replaces contents of the specified file

write

file.write(path: string, data: string)

Name
Type
Description

path

string

path

data

string

data

Replaces contents of the specified file

read

file.read(path: string): string

Name
Type
Description

path

string

path

Returns contents of the specified file.

exists

file.exists(path: string): boolean

Name
Type
Description

path

string

path

Returns true, if the file exists.

create_dir

file.create_dir(path: string)

Name
Type
Description

path

string

path

Creates a directory on a specific path.

get_files_from_dir

file.get_files_from_dir(path: string): table

Name
Type
Description

path

string

path

Returns a table with all files on a specific path.

PreviousbitNexthttp

Last updated 2 years ago

βš™οΈ
πŸ—ƒοΈ