Neverlose
  • Welcome
  • Official Website
  • Useful information
    • 📲Quick start
    • â›Šī¸Common knowledge
    • 🧠Examples
      • âš™ī¸Materials
      • âš™ī¸Color
      • âš™ī¸Vector
      • âš™ī¸ESP
      • âš™ī¸ConVars
      • âš™ī¸UI
  • Documentation
    • 📓Events
    • âš™ī¸Variables
      • 🌎_G
      • đŸ—„ī¸bit
      • 🌈color
      • ⌚common
      • 🎲cvar
      • 💾db
      • 👾entity
      • 👩‍đŸ’ģesp
      • đŸ—ŗī¸events
      • 📂files
      • 📎globals
      • 🔓json
      • ✨materials
      • đŸ”ĸmath
      • đŸ’ģui
      • â˜ī¸network
      • 🌃panorama
      • đŸ’ĸrage
      • 🎨render
      • 🧰utils
      • 📍vector
Powered by GitBook
On this page
  • Example available!
  • Functions:
  • create_folder
  • read
  • write
  • get_crc32
  1. Documentation
  2. Variables

files

Example available!

Functions:

create_folder

files.create_folder(path: string)

Name
Type
Description

path

string

New folder path

read

files.read(path: string): any

Name
Type
Description

path

string

Path to the file

Returns contents of the specified file.

write

files.write(path: string, contents: string[, is_binary: boolean]): boolean

Name
Type
Description

path

string

Path to the file

contents

any

Contents the file should be set to

is_binary

boolean

Is contents a binary

Replaces contents of the specified file. Returns false on failure.

get_crc32

files.get_crc32(path: string): number

Name
Type
Description

path

string

Path to the file

Returns the crc32 checksum of the file.

PreviouseventsNextglobals

Last updated 2 years ago

âš™ī¸
📂