Advertisement
Guest User

Untitled

a guest
May 26th, 2013
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. helloworld = {}
  2. helloworld.__index = helloworld
  3.  
  4. function helloworld.info()
  5. local plugin = {
  6. name = "[LUA] Hello World",
  7. author = "Zephyrus",
  8. description = "Hello World in LUA!",
  9. version = "1.0",
  10. url = "http://simillimum.net"
  11. }
  12.  
  13. setmetatable(plugin, helloworld)
  14. return plugin
  15. end
  16.  
  17. function helloworld:plugin_start()
  18. print("Hello World from [LUA] Hello World!")
  19. end
  20.  
  21. function helloworld:plugin_end()
  22. print("Bye bye :(")
  23. end
  24.  
  25. function helloworld:all_plugins_loaded()
  26. print("All plugins loaded")
  27. end
  28.  
  29. function helloworld:map_start()
  30. print("Map started")
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement