mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-06-26 09:43:03 +08:00
almost finished
This commit is contained in:
@ -2,24 +2,26 @@ void* Original_Spawn_Grenade_Caller;
|
||||
|
||||
void __thiscall Redirected_Spawn_Grenade(void* Entity)
|
||||
{
|
||||
*(__int32*)((unsigned __int32)Entity + 228) = 3;
|
||||
|
||||
using Set_Size_Type = void(__thiscall*)(void* Entity, float* Minimum, float* Maximum);
|
||||
|
||||
float Minimum[3] =
|
||||
{
|
||||
-4,
|
||||
-16,
|
||||
|
||||
-4,
|
||||
-16,
|
||||
|
||||
-4
|
||||
-16
|
||||
};
|
||||
|
||||
float Maximum[3] =
|
||||
{
|
||||
4,
|
||||
16,
|
||||
|
||||
4,
|
||||
16,
|
||||
|
||||
4
|
||||
16
|
||||
};
|
||||
|
||||
Set_Size_Type((unsigned __int32)Client_Module + 281664)(Entity, Minimum, Maximum);
|
||||
|
Reference in New Issue
Block a user