Jump to content

Tabla _G


aka Blue

Recommended Posts

Buenas. He visto en bastantes scripts que abunda el uso de esta tabla. Sobretodo en scripts algo complejos. ¿Para qué sirve exactamente? Me hago una idea de que hace return a funciones o cosas sobre el lenguaje, pero... ¿su uso en MTA en concreto? Gracias y espero sus respuestas.

He hecho el test que pone en la página de tutoriales y hace return a esto:

pairs
coroutine
load
math
next
collectgarbage
rawget
ipairs
pcall
assert
_G
select
getmetatable
os
tostring
print
rawset
setmetatable
bit32
tonumber
string
type
rawlen
xpcall
table
io
_VERSION
utf8
error
debug
rawequal

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...