Solved Help with hook?

Status
Not open for further replies.

Daleon228_09

Solid & Active Platinian
Original poster
Aug 19, 2022
63
9
8
Poland
Help hook this
C#:
private void RpcSpawnGrenade(int OOFLGCNHPII, Vector3 KGCMGOKFKAH, Vector3 CFPJOKBPNNO, MLOJMPNNOJN.CGCHGOHHMPA EKMLLGOCIBN) { }
Im try this
C++:
void (*old_nuke)(void *instance, int a, Vector3 b, Vector3 c, void* d);
void nuke(void *instance, int a, Vector3 b, Vector3 c, void* d){
    if (instance != NULL){
        if (Nuke){
            old_nuke(instance, a, b, c, d);
            old_nuke(instance, a, b, c, d);
            old_nuke(instance, a, b, c, d);
            old_nuke(instance, a, b, c, d);
        }
    }
    return old_nuke(instance, a,b,c,d);
}
but this doesn't work
 
Feb 23, 2023
2
2
1
33
Switzerland
Looks like a photon game to me. That requires an RPC call. For that, you need to learn how photon works. A simple hook like that won't do anything. Ig your game here is FWD, or another game by Blayze Games. And the last parameter looks like an enum to me, not a void. So, you would use an int there.
 

Daleon228_09

Solid & Active Platinian
Original poster
Aug 19, 2022
63
9
8
Poland
Looks like a photon game to me. That requires an RPC call. For that, you need to learn how photon works. A simple hook like that won't do anything. Ig your game here is FWD, or another game by Blayze Games. And the last parameter looks like an enum to me, not a void. So, you would use an int there.
Already solved. Its a enum type, just int
 

DaRealPanDa

Co-Administrator
Staff member
Supporting-Team
Global Moderator
Social Media
Mar 12, 2018
6,892
15,724
2,120
27
Skyrim
Thread will be set to "solved" and closed.
When you're not happy with that just send me a message and i will re-open the thread for you.

Thanks.
 
Status
Not open for further replies.