diff --git a/CHANGELOG.md b/CHANGELOG.md index b87a199..44cda49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # This is an archive of changelog messages from `tfa_loader.lua`. +## 4.7.6.4 +* Fixed attachments reload command not working from server console +* Fixed attachments ID resolving for related hooks + ## 4.7.6.3 * Fixed sprint offset being applied with melee bashing * Procedural camera bobbing is now inverted for inspect animations diff --git a/lua/tfa/documentation/tfa_hooks_custom.lua b/lua/tfa/documentation/tfa_hooks_custom.lua index 602647a..2a54cc8 100644 --- a/lua/tfa/documentation/tfa_hooks_custom.lua +++ b/lua/tfa/documentation/tfa_hooks_custom.lua @@ -60,7 +60,7 @@ boolean GM:TFABase_ShouldLoadAttachment(string attachmentID, string path) -- State: Shared -- Arguments: -- 1. string attachmentID - Requested attachment ID --- 2. string path - Attachment file path (without extension) +-- 2. string path - Attachment file path -- Returns: -- 1. boolean - Return false to prevent attachment from loading and registration -- Example: @@ -76,7 +76,7 @@ GM:TFABase_PreBuildAttachment(string attachmentID, string path, table attTbl) -- State: Shared -- Arguments: -- 1. string attachmentID - Requested attachment ID --- 2. string path - Attachment file path (without extension) +-- 2. string path - Attachment file path -- 3. table attTbl - Empty attachment reference table (only containing assigned ID) GM:TFABase_BuildAttachment(string attachmentID, string path, table attTbl) @@ -85,7 +85,7 @@ GM:TFABase_BuildAttachment(string attachmentID, string path, table attTbl) -- State: Shared -- Arguments: -- 1. string attachmentID - Requested attachment ID --- 2. string path - Attachment file path (without extension) +-- 2. string path - Attachment file path -- 3. table attTbl - Populated attachment reference table GM:TFABase_RegisterAttachment(string attachmentID, table attTbl)