Skip to content

Instantly share code, notes, and snippets.

View SunShineSilver-mdA's full-sized avatar
🏠
Working from home

Mia... SunShineSilver-mdA

🏠
Working from home
View GitHub Profile
@SunShineSilver-mdA
SunShineSilver-mdA / InteractionMenu.lua
Created June 16, 2020 18:19
GTA5 [1.50] Interaction Menu
Global_2509237 -- PIM Catogery ID 0-91
--[[
Close Menu = 22
Interaction Menu = 0
->*
Objectives = 16
@SunShineSilver-mdA
SunShineSilver-mdA / tbl_x_BlipCoords.lua
Created June 15, 2020 16:08
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)},
@SunShineSilver-mdA
SunShineSilver-mdA / tbl_Properties.lua
Last active March 4, 2023 08:51
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 },
@SunShineSilver-mdA
SunShineSilver-mdA / tbl_BlipIcons.lua
Last active March 4, 2023 08:51
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"},
@SunShineSilver-mdA
SunShineSilver-mdA / Proplist.lua
Created June 9, 2020 06:15
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"},
@SunShineSilver-mdA
SunShineSilver-mdA / Pedlist.lua
Last active March 4, 2023 08:51
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
@SunShineSilver-mdA
SunShineSilver-mdA / tbl_VehiclePrices.lua
Created June 6, 2020 08:50
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"},
@SunShineSilver-mdA
SunShineSilver-mdA / LoadOnlineSessionViaGlobals.lua
Last active March 4, 2023 08:51
GTA5 [1.50] Load Online Session via Globals
Global_STransition=1312424 -- 0 default
Global_TSessionID=1312832 -- -1 default
Global_CurSessionID=1312833
Global_PBSBypass=2448961+644 -- 0=enable/1=disable
--[[/*
-1 = Story Mode / Find New Session
0 = Public Session
1 = New Public Session
2 = Closed Crew Session
3 = Crew Session
@SunShineSilver-mdA
SunShineSilver-mdA / CEO_and_MC_Business.lua
Last active March 4, 2023 08:51
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,
@SunShineSilver-mdA
SunShineSilver-mdA / VehiclePreview.h
Last active March 4, 2023 08:51
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");