Skip to content

Instantly share code, notes, and snippets.

@DPSB
DPSB / fakeMainOutputFile.sc
Created March 6, 2023 07:15 — forked from JuniorDjjr/fakeMainOutputFile.sc
SA main.scm source code leaked from GTA SA The Definitive Edition
This file has been truncated, but you can view the full file.
// *****************************************************************************************
// *****************************************************************************************
// *****************************************************************************************
// ****************************************PC SA Main Script********************************
// *****************************************************************************************
// *****************************************************************************************
// *****************************************************************************************
SCRIPT_NAME MAIN //NEW MAIN
@DPSB
DPSB / InteractionMenu.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/InteractionMenu.lua
GTA5 [1.50] Interaction Menu
Global_2509237 -- PIM Catogery ID 0-91
--[[
Close Menu = 22
Interaction Menu = 0
->*
Objectives = 16
@DPSB
DPSB / tbl_x_BlipCoords.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/tbl_x_BlipCoords.lua
GTA5 [1.50] Apartment/Garage/Warehouse Blip Coords to get the right Property Name
tbl_GarageBlipCoords={}
tbl_ApartmentBlipCoords={}
tbl_WarehouseBlipCoords={}
tbl_VehicleWarehouseBlipCoords={}
tbl_GarageBlipCoords={
--[[2 Slot Low-End (13x)]]
{"142 Paleto Blvd",Vector3(-68.7020,6426.1479,30.4389)},
{"1920 Senora Way",Vector3(2461.2202,1589.2552,32.0443)},
{"197 Route 68",Vector3(218.0665,2601.8171,44.7668)},
{"1932 Grapeseed Ave",Vector3(2554.1653,4668.0591,33.0233)},
@DPSB
DPSB / tbl_Properties.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/tbl_Properties.lua
GTA5 [1.50] Properties (Apartment/Garage/Business)
tbl_Properties={--[[ID,Name,Tuneable(Price)/Price]]
{ 1,"Eclipse Towers, Apt 31",3950 },
{ 2,"Eclipse Towers, Apt 9",3951 },
{ 3,"Eclipse Towers, Apt 40",3952 },
{ 4,"Eclipse Towers, Apt 5",3953 },
{ 5,"3 Alta St, Apt 10",3954 },
{ 6,"3 Alta St, Apt 57",3955 },
{ 7,"Del Perro Heights, Apt 20",3956 },
{ 8,"1162 Power St, Apt 3",3967 },
{ 9,"0605 Spanish Ave, Apt 1",3968 },
@DPSB
DPSB / tbl_BlipIcons.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/tbl_BlipIcons.lua
GTA5 [1.50] Blip Icons ID/Name
--[[credits: MAFINS]]
tbl_BlipIcons={
{1,"Standard"},
{2,"BigBlip"},
{3,"PoliceOfficer"},
{4,"PoliceArea"},
{5,"Square"},
{6,"Player"},
{7,"North"},
{8,"Waypoint"},
@DPSB
DPSB / Proplist.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/Proplist.lua
GTA5 [1.50] Proplist
--[[Credits: MAFINS]]
tbl_Proplist={ --[[ Linecount: 15743 {Hash,Name}]]
{3027077612,"02gate3_l"},
{1042741067,"apa_heist_apart2_door"},
{2896828085,"apa_int_garage_wall_plug"},
{1135516612,"apa_mp_apa_icon_mk_beast"},
{1959483461,"apa_mp_apa_icon_mk_ring"},
{2493467079,"apa_mp_apa_y1_l1a"},
{2120129862,"apa_mp_apa_y1_l1b"},
{1858928163,"apa_mp_apa_y1_l1c"},
@DPSB
DPSB / Pedlist.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/Pedlist.lua
GTA5 [1.50] Pedlist
--[[credits: MAFINS]]
--[[
local tbl=tbl_PedlistCat[1]
for i=tbl[2],tbl[4],1 do print('Catogery: '..tbl[1],'Model: '..tbl_Pedlist[i][2])end
Output:
Catogery: Player Model: player_zero
Catogery: Player Model: player_one
Catogery: Player Model: player_two
@DPSB
DPSB / tbl_VehiclePrices.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/tbl_VehiclePrices.lua
GTA5 [1.50] Vehicle Prices
tbl_VehiclePrices={--[[VehicleHash,VehicleName,TuneableHash,TuneableID/Price]]
{3078201489,"Adder","NONE","1000000"},
{1283517198,"Airbus","NONE","550000"},
{1560980623,"Airtug","NONE","0"},
{1181327175,"Akula",-1971020253,23379},
{1672195559,"Akuma","NONE","9000"},
{767087018,"Alpha","NONE",6565},
{2771347558,"Alphaz1",1488744989,22040},
{1171614426,"Ambulance","NONE","0"},
{837858166,"Annihilator","NONE","1825000"},
@DPSB
DPSB / CEO_and_MC_Business.lua
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/CEO_and_MC_Business.lua
GTA5 [1.50] CEO/MC Business Production/Research etc.
CBusiness={}
CBusiness={
Address=1590446+1+(PLAYER_ID()*871),
HandleProductionMC=273+228, -- MC
HandleProductionCEO=273+240, -- CEO
HandleResearch=273+244, -- CEO
Offset={
ProductsCreated=1,
LastCountSuppliesUsed=2,
CountSuppliesUsed=3,
@DPSB
DPSB / VehiclePreview.h
Created March 4, 2023 08:51 — forked from SunShineSilver-mdA/VehiclePreview.h
GTA5 [1.50] Vehicle Preview for Vehicle Class: Super, Sports, Sports Classics, Sedans, Coupes, Muscle, Planes, Boats, ...
static struct VehiclePreview{
char *VName;
char *VCode;
char *TexDict;
char *TexName;
};
/* example
case VMenu::Super: {
TMenu::SouthernCars(Logo);
TMenu::Small("Super");