diff --git a/build/package/addons/sourcemod/extensions/modelch.ext.2.csgo.so b/build/package/addons/sourcemod/extensions/modelch.ext.2.csgo.so index 2f3c502..326ad91 100755 Binary files a/build/package/addons/sourcemod/extensions/modelch.ext.2.csgo.so and b/build/package/addons/sourcemod/extensions/modelch.ext.2.csgo.so differ diff --git a/build/package/addons/sourcemod/gamedata/modelch.games.txt b/build/package/addons/sourcemod/gamedata/modelch.games.txt index 7f892fc..98e23aa 100755 --- a/build/package/addons/sourcemod/gamedata/modelch.games.txt +++ b/build/package/addons/sourcemod/gamedata/modelch.games.txt @@ -13,7 +13,7 @@ "StrAssign" { "library" "server" - "linux" "\x55\x31\xC0\x89\xE5\x53\x83\xEC\x14\x8B\x5D\x0C\x85\xDB" + "linux" "\x55\x31\xC0\x89\xE5\x53\x83\xEC\x14\x8B\x5D\x0C\x85\xDB\x74\x2A\x89\x1C\x24" "windows" "\x55\x8B\xEC\x53\x56\x33\xDB\x8B\xF1" } } diff --git a/extension.cpp b/extension.cpp index 38999f2..109938e 100755 --- a/extension.cpp +++ b/extension.cpp @@ -156,8 +156,8 @@ bool MdlChagerExt::SDK_OnLoad(char* error, size_t maxlen, bool late) g_addr_model_custom = (void*)((uintptr_t)addr + 0x77F); #else void *addr_hook = (void*)((uintptr_t)addr + 0x25E); - g_addr_model_normal = (void*)((uintptr_t)addr + 0x19B0); - g_addr_model_custom = (void*)((uintptr_t)addr + 0x1A82); + g_addr_model_normal = (void*)((uintptr_t)addr + 0x19A7); + g_addr_model_custom = (void*)((uintptr_t)addr + 0x1A79); #endif g_HPlayerSpawn = new Hook(addr_hook, (void*)playerspawn);