server/scripts/callbacks.lua
2010-08-08 01:14:01 -07:00

11 lines
215 B
Lua

callbacks = {}
callbacks["attrib_init"] = function(attr)
if attr.name ~= nil then
local init = callbacks["init_" .. attr.name]
if init ~=nil then
init(attr)
end
end
end