guys i think my _G was emptied

i’m pretty sure an admin emptied my _G

because everything is nil

what do i do

[editline]18th December 2012[/editline]

[ERROR] lua/test.lua:142: attempt to index global ‘input’ (a nil value)

  1. v - lua/test.lua:142
  2. unknown - lua/includes/modules/hook.lua:82

Restart your server.

i meant locally

like an admin ran it clientside

Just restart garry’s mod?

Oh no! Not your _G table that is refilled everytime gmod is restarted!!

:suicide:

guys i need it

i cant play

0/10. Get out if you want to troll.

guys whats a _G table? is that like the basic code of the game?

It’s the global table; _G doesn’t have to exist at all, it’s mostly for convenience or debugging. Every time GMod creates a Lua state (map change, reload, …) it is re-filled.