If you want to post Lua snippets use
This does all sort of fancy syntax highlighting. Check it out:
Code:
[shcode=lua]code here![/shcode]
This does all sort of fancy syntax highlighting. Check it out:
function Initialize(Plugin) Plugin:SetName("ChatLog") Plugin:SetVersion(3) cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChat) LOG("Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion()) return true end function OnChat(Player, Message) -- Lets get loggin' LOGINFO("[" .. Player:GetName() .. "]: " .. StripColorCodes(Message)); return false endLook at it, just look at it! It's so perty