CCSPlayerController * CCSPlayerController :: GetLocalPlayerController ()
{
const int index = interfaces :: engine- > GetLocalPlayer ();
return interfaces :: game_resource_service- > pGameEntitySystem- > Get < CCSPlayerController > (index);
}[/ CODE]
[CODE]
int GetLocalPlayer ()
{
int index = -1;
memory :: vfunc < void, 47U > (this, std :: ref (index), 0);
return index + 1;
}
[/ CODE]
[/ QUOTE]
thanks bro