From 880ceba2c4f253d26f88b0014bd0dde0e8fe93b8 Mon Sep 17 00:00:00 2001 From: Grinch_ Date: Mon, 2 Aug 2021 18:20:02 +0600 Subject: [PATCH] Add teleport coordinates for vice city --- resource/{ => SA}/CheatMenu/clothes.txd | Bin resource/{ => SA}/CheatMenu/components.txd | Bin .../{ => SA}/CheatMenu/json/animation.json | 0 .../{ => SA}/CheatMenu/json/cheat name.json | 0 .../{ => SA}/CheatMenu/json/cutscene.json | 0 resource/{ => SA}/CheatMenu/json/mission.json | 0 .../{ => SA}/CheatMenu/json/ped special.json | 0 resource/{ => SA}/CheatMenu/json/ped.json | 0 .../{ => SA}/CheatMenu/json/radar sprite.json | 0 resource/{ => SA}/CheatMenu/json/stat.json | 0 .../{ => SA}/CheatMenu/json/teleport.json | 0 resource/{ => SA}/CheatMenu/json/weapon.json | 0 resource/{ => SA}/CheatMenu/peds.txd | Bin resource/{ => SA}/CheatMenu/textures.txd | Bin resource/{ => SA}/CheatMenu/vehicles.txd | Bin resource/{ => SA}/CheatMenu/weapons.txd | Bin resource/VC/CheatMenu/json/teleport.json | 48 ++++++++++++++++++ src/Teleport.cpp | 2 + 18 files changed, 50 insertions(+) rename resource/{ => SA}/CheatMenu/clothes.txd (100%) rename resource/{ => SA}/CheatMenu/components.txd (100%) rename resource/{ => SA}/CheatMenu/json/animation.json (100%) rename resource/{ => SA}/CheatMenu/json/cheat name.json (100%) rename resource/{ => SA}/CheatMenu/json/cutscene.json (100%) rename resource/{ => SA}/CheatMenu/json/mission.json (100%) rename resource/{ => SA}/CheatMenu/json/ped special.json (100%) rename resource/{ => SA}/CheatMenu/json/ped.json (100%) rename resource/{ => SA}/CheatMenu/json/radar sprite.json (100%) rename resource/{ => SA}/CheatMenu/json/stat.json (100%) rename resource/{ => SA}/CheatMenu/json/teleport.json (100%) rename resource/{ => SA}/CheatMenu/json/weapon.json (100%) rename resource/{ => SA}/CheatMenu/peds.txd (100%) rename resource/{ => SA}/CheatMenu/textures.txd (100%) rename resource/{ => SA}/CheatMenu/vehicles.txd (100%) rename resource/{ => SA}/CheatMenu/weapons.txd (100%) create mode 100644 resource/VC/CheatMenu/json/teleport.json diff --git a/resource/CheatMenu/clothes.txd b/resource/SA/CheatMenu/clothes.txd similarity index 100% rename from resource/CheatMenu/clothes.txd rename to resource/SA/CheatMenu/clothes.txd diff --git a/resource/CheatMenu/components.txd b/resource/SA/CheatMenu/components.txd similarity index 100% rename from resource/CheatMenu/components.txd rename to resource/SA/CheatMenu/components.txd diff --git a/resource/CheatMenu/json/animation.json b/resource/SA/CheatMenu/json/animation.json similarity index 100% rename from resource/CheatMenu/json/animation.json rename to resource/SA/CheatMenu/json/animation.json diff --git a/resource/CheatMenu/json/cheat name.json b/resource/SA/CheatMenu/json/cheat name.json similarity index 100% rename from resource/CheatMenu/json/cheat name.json rename to resource/SA/CheatMenu/json/cheat name.json diff --git a/resource/CheatMenu/json/cutscene.json b/resource/SA/CheatMenu/json/cutscene.json similarity index 100% rename from resource/CheatMenu/json/cutscene.json rename to resource/SA/CheatMenu/json/cutscene.json diff --git a/resource/CheatMenu/json/mission.json b/resource/SA/CheatMenu/json/mission.json similarity index 100% rename from resource/CheatMenu/json/mission.json rename to resource/SA/CheatMenu/json/mission.json diff --git a/resource/CheatMenu/json/ped special.json b/resource/SA/CheatMenu/json/ped special.json similarity index 100% rename from resource/CheatMenu/json/ped special.json rename to resource/SA/CheatMenu/json/ped special.json diff --git a/resource/CheatMenu/json/ped.json b/resource/SA/CheatMenu/json/ped.json similarity index 100% rename from resource/CheatMenu/json/ped.json rename to resource/SA/CheatMenu/json/ped.json diff --git a/resource/CheatMenu/json/radar sprite.json b/resource/SA/CheatMenu/json/radar sprite.json similarity index 100% rename from resource/CheatMenu/json/radar sprite.json rename to resource/SA/CheatMenu/json/radar sprite.json diff --git a/resource/CheatMenu/json/stat.json b/resource/SA/CheatMenu/json/stat.json similarity index 100% rename from resource/CheatMenu/json/stat.json rename to resource/SA/CheatMenu/json/stat.json diff --git a/resource/CheatMenu/json/teleport.json b/resource/SA/CheatMenu/json/teleport.json similarity index 100% rename from resource/CheatMenu/json/teleport.json rename to resource/SA/CheatMenu/json/teleport.json diff --git a/resource/CheatMenu/json/weapon.json b/resource/SA/CheatMenu/json/weapon.json similarity index 100% rename from resource/CheatMenu/json/weapon.json rename to resource/SA/CheatMenu/json/weapon.json diff --git a/resource/CheatMenu/peds.txd b/resource/SA/CheatMenu/peds.txd similarity index 100% rename from resource/CheatMenu/peds.txd rename to resource/SA/CheatMenu/peds.txd diff --git a/resource/CheatMenu/textures.txd b/resource/SA/CheatMenu/textures.txd similarity index 100% rename from resource/CheatMenu/textures.txd rename to resource/SA/CheatMenu/textures.txd diff --git a/resource/CheatMenu/vehicles.txd b/resource/SA/CheatMenu/vehicles.txd similarity index 100% rename from resource/CheatMenu/vehicles.txd rename to resource/SA/CheatMenu/vehicles.txd diff --git a/resource/CheatMenu/weapons.txd b/resource/SA/CheatMenu/weapons.txd similarity index 100% rename from resource/CheatMenu/weapons.txd rename to resource/SA/CheatMenu/weapons.txd diff --git a/resource/VC/CheatMenu/json/teleport.json b/resource/VC/CheatMenu/json/teleport.json new file mode 100644 index 0000000..57ef585 --- /dev/null +++ b/resource/VC/CheatMenu/json/teleport.json @@ -0,0 +1,48 @@ +{ + "Pay n Spray": + { + "Little Haiti Pay n Spray": "0, -865, -121, 11", + "Oceanview Pay n Spray": "0, -15, -1258, 10", + "Vice Point Pay n Spray": "0, 330, 429, 11", + "Vice Port Pay n Spray": "0, -912, -1269, 11", + "Ocean Beach Car Wash": "0, 53, -1045, 10" + }, + "Ammunation": + { + "Washington Ammunation": "0, -65, -1479, 10", + "Washington Beach Ammunation": "0, 200, -474, 11" + }, + "Misc": { + "1102 Safe House": "0, 95, -808, 10", + "Air Reserve Fort": "0, -1731, -307, 14", + "Bikers Bar": "0, -598, 655, 11", + "Construction Site": "0, 266, -235, 12", + "Diaz Hotel": "0, 469, 32, 29", + "Downtown hidden safe house": "0, -560, 702, 20", + "Downtown safe house": "0, -832, 1304, 11", + "Escober International Airport": "0, -1432, -805, 14", + "Inter Global Films": "0, 0, 961, 10", + "Kaufman Cabs": "0, -1001, 196, 11", + "Ken Rosenberg & Co": "0, 117, -824, 10", + "Leaf links Golf & Country Club": "0, 103, 248, 21", + "Little Havana Bank": "0, -889, -338, 11", + "Little Havana Police Station": "0, -849, -669, 11", + "Love fist studio": "0, -872, 1159, 11", + "Maibu Club": "0, 496, -84, 10", + "Ocean view hotel": "0, 230, -1277, 12", + "Oceanview Hostipal": "0, -111, -974, 10", + "Phils Place": "0, -1099, 337, 11", + "Prawn Island": "0, 9, 1102, 16", + "Shipdocks": "0, -696, -1300, 11", + "Starfish Island Mansion": "0, -382, -537, 17", + "Sunshine Autos": "0, -1008, -872, 12", + "The Cherry Popper": "0, -874, -571, 11", + "The North Point Mall": "0, 379, 992, 18", + "Vice City Fire Department": "0, -696, 923, 11", + "Vice City Police Department": "0, 398, -471, 11", + "Vice Point Superstore": "0, 449, 785, 12", + "Vice Port Mainland": "0, -246, -1327, 8", + "Washington Ave": "0, -194, -1387, 4", + "Washington Mall": "0, 3, -937, 16" + } +} diff --git a/src/Teleport.cpp b/src/Teleport.cpp index f84c1fb..1199b55 100644 --- a/src/Teleport.cpp +++ b/src/Teleport.cpp @@ -286,9 +286,11 @@ void Teleport::Draw() { tp_data.m_Json.m_Data["Custom"][m_nLocationBuffer] = ("0, " + std::string(m_nInputBuffer)); + #ifdef GTASA // Clear the Radar coordinates tp_data.m_Json.m_Data.erase("Radar"); tp_data.m_Json.m_Data["Radar"] = {}; + #endif tp_data.m_Json.WriteToDisk(); }