mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00
11 lines
349 B
C++
11 lines
349 B
C++
![]() |
#include "hooking.hpp"
|
||
|
|
||
|
namespace big
|
||
|
{
|
||
|
void hooks::player_join(CNetworkObjectMgr* _this, CNetGamePlayer* net_player)
|
||
|
{
|
||
|
LOG(INFO) << "Player '" << net_player->get_name() << "' joined taking slot #" << (int)net_player->player_id;
|
||
|
|
||
|
return g_hooking->m_player_has_joined_hook.get_original<decltype(&hooks::player_join)>()(_this, net_player);
|
||
|
}
|
||
|
}
|