[saco] Implement CGame::DisableMarker(...)

This commit is contained in:
RD42 2024-02-21 18:58:07 +08:00
parent ed2ec894c9
commit 3586ab1c9e
3 changed files with 9 additions and 0 deletions

View File

@ -427,6 +427,13 @@ DWORD CGame::CreateRadarMarkerIcon(int iMarkerType, float fX, float fY, float fZ
//-----------------------------------------------------------
void CGame::DisableMarker(DWORD dwMarkerID)
{
ScriptCommand(&disable_marker, dwMarkerID);
}
//-----------------------------------------------------------
const PCHAR CGame::GetWeaponName(int iWeaponID)
{
switch(iWeaponID) {

View File

@ -64,6 +64,7 @@ public:
void DrawGangZone(float* fPos, DWORD dwColor);
DWORD CreateRadarMarkerIcon(int iMarkerType, float fX, float fY, float fZ, DWORD dwColor, int iStyle);
void DisableMarker(DWORD dwMarkerID);
DWORD GetD3DDevice();

View File

@ -29,6 +29,7 @@ const SCRIPT_COMMAND point_camera = { 0x0160, "fffi" }; // x, y, z, type
const SCRIPT_COMMAND restore_camera_jumpcut = { 0x02EB, "" }; // -/-
const SCRIPT_COMMAND set_camera_position = { 0x015F, "ffffff" }; // x, y, z, vx, vy, vz
const SCRIPT_COMMAND disable_marker = { 0x0164, "i" }; // var_marker
const SCRIPT_COMMAND set_marker_color = { 0x0165, "ii" }; // var_marker, color
const SCRIPT_COMMAND create_radar_marker_without_sphere = { 0x04CE, "fffiv" }; // x, y, z, marker_type, var_marker