mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CGame::DisableMarker(...)
This commit is contained in:
parent
ed2ec894c9
commit
3586ab1c9e
@ -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) {
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user