Vendetta/API/reload

From Quasar-RCE
Jump to navigationJump to search

Definition

lib.reload () :: Game Reloads

Description

Forces an interface reload

Arguments

  1. none

Returns

  1. nil

Other notes

  • Added in LME 3.4.x
  • (The following only applies if the setting is enabled by the user) Neoloader will attempt to clean up all user commands not present in the "zcom.lua" file. Whether this is still neccesary is unknown, but for a time the game wasn't cleaning up commands properly, resulting in 'ghost commands' attempting to access data that had been garbage collected by the lua engine. This functionality remains in Neoloader to help make sure plugins are unloaded as much as possible, just in case, but is disabled by default.
  • Neoloader registers a user command "reload" which points to this function.