-
Автор темы
- #1
C++:
for (int i = 1; i <= 64; ++i) {
c_cs_player_controller* p_player_local = i::ent_system::get_base_entity<c_cs_player_controller>(i);
auto local_player = p_player_local->is_local_player_controller();
}
// put this where u have m_pawn / c_cs_player_controller
schema(is_local_player_controller, "CBasePlayerController", "m_bIsLocalPlayerController", bool);