-----------------------------------------------------------
Some My Sandrum Source Code Menu
If you want to use it or post it to another place please give me credit and mention the source
if the thread reached 50 likes, I will release my protections and menu for free
if you have a question or inquiry, or want to buy gta4 protections premium version, please contact me on discord mizdx#5066
I hope you all have a great time in the game
-----------------------------------------
Hud Colour Offset
VisualSettings Offset
[/hide-reply]
Water Delete Offset
[/hide-reply]
Running A Game On Fps 60 Offset
[/hide-reply]
Control Of id
[/hide-reply]
Get Distance Between 2 Points
[/hide-reply]
Teleportation
[/hide-reply]
Get Ip Address
[/hide-reply]
-----------------------------
Credit
mizdx
RockstarGames
RockstarNorth
Some My Sandrum Source Code Menu
If you want to use it or post it to another place please give me credit and mention the source
if the thread reached 50 likes, I will release my protections and menu for free
if you have a question or inquiry, or want to buy gta4 protections premium version, please contact me on discord mizdx#5066
I hope you all have a great time in the game
-----------------------------------------
Hud Colour Offset
[hide-reply]
[/hide-reply]
Code:
HUD_COLOUR_WHITE 0x010F49A0
HUD_COLOUR_RED = 0x010F49B0
HUD_COLOUR_REDLIGHT = 0x010F49B4
HUD_COLOUR_REDDARK = 0x010F49B8
HUD_COLOUR_BLUE = 0x010F49BC
HUD_COLOUR_BLUELIGHT = 0x010F49C0
HUD_COLOUR_BLUEDARK = 0x010F49C4
HUD_COLOUR_YELLOW = 0x010F49C8
HUD_COLOUR_YELLOWLIGHT = 0x010F49CC
HUD_COLOUR_YELLOWDARK = 0x010F49D0
HUD_COLOUR_ORANGE = 0x010F49D4
HUD_COLOUR_ORANGELIGHT = 0x010F49D8
HUD_COLOUR_ORANGEDARK = 0x010F49DC
HUD_COLOUR_GREEN = 0x010F49E0
HUD_COLOUR_GREENLIGHT = 0x010F49E4
HUD_COLOUR_GREENDARK = 0x010F49E8
HUD_COLOUR_PURPLE = 0x010F49EC
HUD_COLOUR_PURPLELIGHT = 0x010F49F0
HUD_COLOUR_PURPLEDARK = 0x010F49F4
HUD_COLOUR_PINK = 0x010F49F8
HUD_COLOUR_STAR = 0x010F49FC
HUD_COLOUR_STARLIGHT = 0x010F4A00
HUD_COLOUR_STARDARK = 0x010F4A04
HUD_COLOUR_NET_PLAYER1 = 0x010F4A08
HUD_COLOUR_NET_PLAYER2 = 0x010F4A0C
HUD_COLOUR_NET_PLAYER3 = 0x010F4A10
HUD_COLOUR_NET_PLAYER4 = 0x010F4A14
HUD_COLOUR_NET_PLAYER5 = 0x010F4A18
HUD_COLOUR_NET_PLAYER6 = 0x010F4A1C
HUD_COLOUR_NET_PLAYER7 = 0x010F4A20
HUD_COLOUR_NET_PLAYER8 = 0x010F4A24
HUD_COLOUR_NET_PLAYER9 = 0x010F4A28
HUD_COLOUR_NET_PLAYER10 = 0x010F4A2C
HUD_COLOUR_NET_PLAYER11 = 0x010F4A30
HUD_COLOUR_NET_PLAYER12 = 0x010F4A34
HUD_COLOUR_NET_PLAYER13 = 0x010F4A38
HUD_COLOUR_NET_PLAYER14 = 0x010F4A3C
HUD_COLOUR_NET_PLAYER15 = 0x010F4A40
HUD_COLOUR_NET_PLAYER16 = 0x010F4A44
HUD_COLOUR_SIMPLEBLIP_DEFAULT = 0x010F4A48
HUD_COLOUR_MENU_BLUE = 0x010F4A4C
HUD_COLOUR_MENU_GREY_LIGHT = 0x010F4A50
HUD_COLOUR_MENU_BLUE_EXTRA_DARK = 0x010F4A54
HUD_COLOUR_MENU_YELLOW = 0x010F4A58
HUD_COLOUR_MENU_YELLOW_DARK = 0x010F4A5C
HUD_COLOUR_MENU_GREEN = 0x010F4A60
HUD_COLOUR_MENU_GREY = 0x010F4A64
HUD_COLOUR_MENU_GREY_DARK = 0x010F4A68
HUD_COLOUR_MENU_HIGHLIGHT = 0x010F4A6C
HUD_COLOUR_MENU_STANDARD = 0x010F4A70
HUD_COLOUR_MENU_DIMMED = 0x010F4A74
HUD_COLOUR_MENU_EXTRA_DIMMED = 0x010F4A78
HUD_COLOUR_BRIEF_TITLE = 0x010F4A7C
HUD_COLOUR_MID_GREY_MP = 0x010F4A80
VisualSettings Offset
Code:
[hide-reply]Car_TailLight_Color_Red = 0x15C2894
Car_TailLight_Color_Green = 0x15C2898
Car_TailLight_Color_Blue = 0x15C289C
Car_TailLight_Intensity = 0x15C2880
Car_TailLight_FalloffMax = 0x15C2884
Car_TailLight_InnerConeAngle = 0x15C2888
Car_TailLight_OuterConeAngle = 0x15C288C
Car_TailLight_Emissive_On = 0x15C2890
Car_HeadLight_Color_Red = 0x15C28B0
Car_HeadLight_Color_Green = 0x15C28B4
Car_HeadLight_Color_Blue = 0x15C28B8
Car_HeadLight_Intensity = 0x15C28A0
Car_HeadLight_FalloffMax = 0x15C28A4
Car_HeadLight_InnerConeAngle = 0x15C28A8
Car_HeadLight_OuterConeAngle = 0x15C28AC
Water Delete Offset
Code:
[hide-reply]0x0F13EC0 = 0x00000000
0x0F13EC8 = 0x00000000
----------------------
0x0F13EC0 = 0x3B03126F
0x0F13EC8 = 0x40C00000
Running A Game On Fps 60 Offset
Code:
[hide-reply]blus
0xA64FD4 = 0x60000000
0xA64FF8 = 0x48000084
bles
0xA651A4 = 0x60000000
0xA651C8 = 0x48000084
Control Of id
Code:
[hide-reply]void ControlOfid(Player netid)
{
int id= 0;
while (!NET::HAS_CONTROL_OF_NETWORK_ID(netid) && id<= 15)
{
NET::REQUEST_CONTROL_OF_NETWORK_ID(netid);
id++;
}
}
Get Distance Between 2 Points
Code:
[hide-reply]float distanceBetween(vector3 a, vector3 b) {
return GAME::GET_DISTANCE_BETWEEN_COORDS_3D(a.x, a.y, a.z, b.x, b.y, b.z, 1);
}
Teleportation
Code:
[hide-reply]void teleportToCoordinates(Char _char, vector3 coordinates)
{
CHAR::SET_CHAR_COORDINATES_NO_OFFSET(_char, coordinates.x, coordinates.y, coordinates.z, 1);
SYS::WAIT(0);
}
Get Ip Address
Code:
[hide-reply]unsigned long GetPlayerName(int PlayerId)
{
char CName[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
Sandrum::SetMemcpy(CName, PLAYER::GET_PLAYER_NAME(PlayerId), 0x10);
unsigned long LAddr = Sandrum::Find(0x170D8B4, 0xFFFF, (char*)CName, "xxxxxxxxxxxx");
return LAddr;
}
char* GetIPNetwork(int PlayerId)
{
if (PLAYER::IS_PLAYER_ONLINE() && NET::NETWORK_IS_SESSION_STARTED()) {
if (PLAYER::IS_PLAYER_PLAYING(PlayerId)) {
unsigned long Address = GetPlayerName(PlayerId);
char cip[50];
unsigned char ip1 = *(unsigned char*)(Address - 0x24);
unsigned char ip2 = *(unsigned char*)(Address - 0x16);
unsigned char ip3 = *(unsigned char*)(Address - 0x08);
unsigned char ip4 = *(unsigned char*)(Address - 0x00);
Sandrum::SetSprintf(cip, "%u.%u.%u.%u\n", ip1, ip2, ip3, ip4);
return cip;
}
} return "0.0.0.0";
}
-----------------------------
Credit
mizdx
RockstarGames
RockstarNorth
Last edited: