Python1320

Untitled

Jul 18th, 2010
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. function items.PushEntity(class)
  2.     ITEM = {}
  3.     table.Merge(ITEM, items.EntityBase)
  4.     ITEM_CLASS = class
  5.     ITEM.ClassName = class
  6. end
  7.  
  8. function items.PopEntity()
  9.     items.RegisterEntity(ITEM, ITEM_CLASS)
  10.     ITEM = nil
  11.     ITEM_CLASS = nil
  12. end
Advertisement
Add Comment
Please, Sign In to add comment