mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
feat(Spectate): Fixed spectate not following player minimap
This commit is contained in:
parent
26e4400d2e
commit
4eef16af1f
@ -17,12 +17,16 @@ namespace big
|
||||
bReset = true;
|
||||
|
||||
g_pointers->m_spectate_player(false, -1);
|
||||
HUD::SET_MINIMAP_IN_SPECTATOR_MODE(false, -1);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
g_pointers->m_spectate_player(true, PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(g.selected_player.id));
|
||||
Ped target = PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(g.selected_player.id);
|
||||
|
||||
g_pointers->m_spectate_player(true, target);
|
||||
HUD::SET_MINIMAP_IN_SPECTATOR_MODE(true, target);
|
||||
|
||||
bReset = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user