What is solution
struct PhotonMessageInfo
{
int timestamp;
std::uintptr_t sender
void *view;
};
void (*OnRequestSpawn)(void *instance, void *PhotonPlayer, PhotonMessageInfo Info);
PhotonMessageInfo info = {0, PhotonNetwork_get_player(), NULL};
How to Use ITC++:struct PhotonMessageInfo { int timestamp; std::uintptr_t sender void *view; }; void (*OnRequestSpawn)(void *instance, void *PhotonPlayer, PhotonMessageInfo Info); PhotonMessageInfo info = {0, PhotonNetwork_get_player(), NULL};
That’s a dumbass question he shows you how to use it thereHow to Use IT
I don't understand the " on request respawn "That’s a dumbass question he shows you how to use it there
I don't understand the " on request respawn "
struct PhotonMessageInfo
{
int timestamp;
std::uintptr_t sender;
void *view;
};
void (*RoomMaster_OnRequestRespawn)(void *instance, void *player, PhotonMessageInfo Info);
PhotonMessageInfo info = {0, PhotonNetwork_get_player(), NULL};
RoomMaster_OnRequestRespawn(instance, PhotonPlayer, info);
I put strict PhotonMessageInfo and room Master and photon msg info and on request respawn on hooking but they crash
Create new file?The struct part goes into a new file in your includes folder. Call it something like PMI.h
I created new file in includes then included but when try, crashThe struct part goes into a new file in your includes folder. Call it something like PMI.h