mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-06-26 09:43:03 +08:00
Commit
This commit is contained in:
28
Spawn_Grenade.hpp
Executable file
28
Spawn_Grenade.hpp
Executable file
@ -0,0 +1,28 @@
|
||||
void* Original_Spawn_Grenade_Caller;
|
||||
|
||||
void __thiscall Redirected_Spawn_Grenade(void* Entity)
|
||||
{
|
||||
using Set_Size_Type = void(__thiscall*)(void* Entity, float* Minimum, float* Maximum);
|
||||
|
||||
float Minimum[3] =
|
||||
{
|
||||
-4,
|
||||
|
||||
-4,
|
||||
|
||||
-4
|
||||
};
|
||||
|
||||
float Maximum[3] =
|
||||
{
|
||||
4,
|
||||
|
||||
4,
|
||||
|
||||
4
|
||||
};
|
||||
|
||||
Set_Size_Type((unsigned __int32)Client_Module + 281664)(Entity, Minimum, Maximum);
|
||||
|
||||
(decltype(&Redirected_Spawn_Grenade)(Original_Spawn_Grenade_Caller))(Entity);
|
||||
}
|
Reference in New Issue
Block a user