NEW DEVELOPER HOOKS:
-- Client
hook.Add("DConfig2ContentSaved", "OnSave", function(editorType, saveData, success)
print(editorType .. " saved the new data.")
if success then
print("The save was successful with the following data:")
PrintTable(saveData)
end
end)
-- Client
hook.Add("DConfig2ContentDeleted", "OnDelete", function(editorType, contentData)
print(editorType .. " had content deleted from it:")
PrintTable(contentData)
end)
-- Client
hook.Add("DConfig2ContentReset", "OnReset", function(editorType, contentData)
print(editorType .. " had content reset:")
PrintTable(contentData)
end)
BUG FIXES
- Fixed a gmodstore F4 menu that was not refreshing when DarkRP content was edited.
- Removed debug color code.