mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[saco] Implement 'CGame::EnableZoneNames'
This commit is contained in:
parent
79e40cf088
commit
be2e532eec
@ -736,3 +736,10 @@ void CGame::DrawGangZone(float fPos[], DWORD dwColor)
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
// TODO: CGame::sub_100A1520 text: 100A1520
|
||||||
|
void CGame::EnableZoneNames(BYTE byteEnable)
|
||||||
|
{
|
||||||
|
ScriptCommand(&enable_zone_names, byteEnable);
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
@ -61,6 +61,7 @@ public:
|
|||||||
void ToggleRadar(int iToggle);
|
void ToggleRadar(int iToggle);
|
||||||
void DisplayGameText(char *szStr,int iTime,int iSize);
|
void DisplayGameText(char *szStr,int iTime,int iSize);
|
||||||
void SetGravity(float fGravity);
|
void SetGravity(float fGravity);
|
||||||
|
void EnableZoneNames(BYTE byteEnable);
|
||||||
void SetWantedLevel(BYTE byteLevel);
|
void SetWantedLevel(BYTE byteLevel);
|
||||||
void SetGameTextCount(WORD wCount);
|
void SetGameTextCount(WORD wCount);
|
||||||
void DrawGangZone(float* fPos, DWORD dwColor);
|
void DrawGangZone(float* fPos, DWORD dwColor);
|
||||||
|
@ -42,7 +42,7 @@ const SCRIPT_COMMAND set_camera_position = { 0x015F, "ffffff" }; // x, y, z,
|
|||||||
|
|
||||||
const SCRIPT_COMMAND disable_marker = { 0x0164, "i" }; // var_marker
|
const SCRIPT_COMMAND disable_marker = { 0x0164, "i" }; // var_marker
|
||||||
const SCRIPT_COMMAND set_marker_color = { 0x0165, "ii" }; // var_marker, color
|
const SCRIPT_COMMAND set_marker_color = { 0x0165, "ii" }; // var_marker, color
|
||||||
|
const SCRIPT_COMMAND enable_zone_names = { 0x09BA, "i" };
|
||||||
const SCRIPT_COMMAND create_radar_marker_without_sphere = { 0x04CE, "fffiv" }; // x, y, z, marker_type, var_marker
|
const SCRIPT_COMMAND create_radar_marker_without_sphere = { 0x04CE, "fffiv" }; // x, y, z, marker_type, var_marker
|
||||||
const SCRIPT_COMMAND show_on_radar = { 0x0168, "ii" }; // var_marker, size
|
const SCRIPT_COMMAND show_on_radar = { 0x0168, "ii" }; // var_marker, size
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user