(Newbie) Needing Plugin Help (lua)
#5
Also a tip, if you post code on the forum you can use
Code:
[shcode=lua] Code here [/shcode]
to make it look right. then you get:
PLUGIN = {}
--Commands
function Initialize( Plugin )
    PLUGIN = Plugin

    Plugin:SetName( "SeaCustom" )
    Plugin:SetVersion( 0.1 )

    PluginManager = cRoot:Get():GetPluginManager()
    PluginManager:BindCommand("/heal",            "SeaCustom.heal",            HandleHealCommand,            " ~ Heal yourself!")
    PluginManager:BindCommand("/killstats",       "SeaCustom.killstats",       HandleKillStatsCommand,       " - Lose the game!")


    return true
end
Reply
Thanks given by: Sea


Messages In This Thread
(Newbie) Needing Plugin Help (lua) - by Sea - 08-15-2013, 01:17 PM
RE: (Newbie) Needing Plugin Help (lua) - by xoft - 08-15-2013, 03:54 PM
RE: (Newbie) Needing Plugin Help (lua) - by NiLSPACE - 08-15-2013, 09:41 PM
RE: (Newbie) Needing Plugin Help (lua) - by Sea - 08-15-2013, 11:28 PM



Users browsing this thread: 2 Guest(s)