From fdb81a898151278a66af544dfae6bfcbbf9dc3d2 Mon Sep 17 00:00:00 2001 From: jz0 Date: Sun, 3 May 2020 22:38:59 +0300 Subject: Initial commit --- source2-basehook/Hooks/LevelInit.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 source2-basehook/Hooks/LevelInit.hpp (limited to 'source2-basehook/Hooks/LevelInit.hpp') diff --git a/source2-basehook/Hooks/LevelInit.hpp b/source2-basehook/Hooks/LevelInit.hpp new file mode 100644 index 0000000..1682890 --- /dev/null +++ b/source2-basehook/Hooks/LevelInit.hpp @@ -0,0 +1,8 @@ +#pragma once +#include "../Include.hpp" +#include "../Source2SDK/CEngineClient.hpp" + +typedef void(__fastcall* oLevelInit)(IClientModeShared*, const char*); +extern oLevelInit OriginalLevelInit; + +void __fastcall hkLevelInit(IClientModeShared* thisptr, const char* newmap); -- cgit v1.2.3