Advertisement
Robonado

Renomeando Índices

Apr 30th, 2015
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. -- math.random() ⇒ random()
  2.  
  3. table.foreach({string, math, table}, function(n, tab) table.foreach(tab, function(nome, func) _G[nome]= func; end) end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement