[saco] Match CPlayerPed::ShowMarker; retail writes the HideMarker body inline

This commit is contained in:
ricardoofnl
2026-09-03 00:11:39 +07:00
parent 1387bbcf00
commit eec72291c4
+4 -1
View File
@@ -432,7 +432,10 @@ int CPlayerPed::GetCurrentVehicleID()
void CPlayerPed::ShowMarker(int iMarkerColorID)
{
if (m_dwArrow) HideMarker();
if (m_dwArrow) {
ScriptCommand(&disable_marker, m_dwArrow);
m_dwArrow = 0;
}
ScriptCommand(&create_arrow_above_actor, m_dwGTAId, &m_dwArrow);
ScriptCommand(&set_marker_color, m_dwArrow, iMarkerColorID);
ScriptCommand(&show_on_radar2, m_dwArrow, 2);