Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var scriptName = "Test";
- var scriptVersion = 0.01;
- var scriptAuthor = "Your name";
- function Test(){
- this.getName = function() {
- return "Test";
- };
- this.getDescription = function() {
- return "Test";
- };
- this.getCategory = function() {
- return "Fun";
- };
- this.onEnable = function () {};
- this.onUpdate = function() {};
- this.onMotion = function(e) {
- if(e[0] == "PRE"){}
- if(e[0] == "POST"){}
- }
- this.onDisable = function () {};
- };
- var test = new Test();
- var clientTest;
- function onLoad() {};
- function onEnable() {
- clientTest = moduleManager.registerModule(Test);
- };
- function onDisable() {
- moduleManager.unregisterModule(clientTest);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement