Guide GMOD Cheats - How to Hack Garry's Mod

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Rake

I'm not your friend
Administrator
Jan 21, 2014
12,510
78,998
2,419
Game Name
GMOD
How long you been coding/hacking?
7 years
Coding Language
C++
Garry's Mod is a very popular game made with the same Source Engine that Counter Strike is made with. Making GMOD hacks is similar to making Counter Strike cheats. If you want to get started making GMOD cheats, read this guide and you will find everything you need, we have source codes available for aimbot, ESP & much more.

Garry's Mod is a sandbox video game where just about anything is possible, it was released in 2006 by Facepunch Studios and Valve. There are thousands of mods available for the game in the Steam workshop. It's named Garry's Mod after Garry Newman, the creator of the original mod from 2004. Enjoying the game greatly relies on user generated content and your creativity & imagination. Amazingly, more than 15 years later it is still incredibly popular. As of today, it's #24 on the list of top 100 Steam games. The Steam Community Workshop for this game has over 300,000 assets, which is insane.

Game: Gary's Mod
Engine: Source Engine
Anticheat: Valve AntiCheat

1597117814223.png


Gary's Mod Hacks - How to make GMOD Cheats


Hacking Gary's Mod is the same as hacking any Source Engine game. Any CSGO or CSS tutorial is applicable to GMOD, but may require minor adjustments.

To make a legit Source Engine cheat you will need 3 things, an offset dumper, a netvar manager and a GetInterface() function. An offset dumper will dump the games offsets for commonly uses variables, a netvar manager allows you to get the netvar offsets at runtime and GetInterface() gives you the addresses for vtables which you will need to call functions from. We have tutorials that teach you how to do all 3 for CSGO and it's the same for GMOD cheats:
As you can see, Guided Hacking has everything you need to successfully hack Garry's Mod. Consider donating if you value our free resources.

The offset dumper will not work 100% because it's made for CSGO, out of the box it will work on GMOD but only 50% of the offstes will be correct. You can update it yourself as you learn more about GMOD cheats.

GMOD uses client.dll, if you use any CSGO Source with client_panorama.dll just change it to client.dll

GMOD Anticheat -> Valve AntiCheat
Gary's Mod uses VAC and it's actually a bit different than the CSGO VAC so be careful. Do all your reversing and testing using the -insecure command line argument for you game before you try to use it online. You can read all about VAC here-> Guide - How To Bypass VAC Valve Anti Cheat Info

Our Best GMOD Cheat Resources:
Source Code - GMOD Hack - Internal ESP & Aimbot
Source Code - Simple Gary's Mod ESP [ Hack - Cheat Source Code ]

GMOD Aimbot
You can use our CSGO Aimbot tutorial to learn how to make an aimbot for Source Engine games.
Source Code - GMOD Hack - Internal ESP & Aimbot

Gary's Mod ESP Source Code
Source Code - Simple Gary's Mod ESP [ Hack - Cheat Source Code ]
Source Code - GMOD Hack - Internal ESP & Aimbot

GMOD Offsets
C++:
public const Int32 EntityList = 0x006A77DC;
public const Int32 ForceJump = 0x70F6BC;
public const Int32 LocalPlayer = 0x0068B684;
public const Int32 ViewMatrix = 0x003FCD5C;
public const Int32 InGame = 0x4E9C60;
public const Int32 ViewAngles = 0x4FA604;
public const Int32 ForceAttack = 0x70F6C8;
public const Int32 ForceAttack2 = 0x70F6D4;
Source Code - Garry's Mod Address Dump | October 16th 2020 Update
Using these offsets you can make many cheats very easily, here are a few examples:

Gary's Mod Bunnyhop
Learn how bunny hops work: Video Tutorial - C++ CSGO BunnyHop - dwForceJump & m_fFlags Explained
C++:
void jump() {
    ent* localPlayer = localPlayerGet();
    if (localPlayer != 0) {
        if (localPlayer->flags == 257 && GetAsyncKeyState(VK_SPACE)) {
            uintptr_t jump = *(uintptr_t*)(clientBase + o_forceJump) = 6;
        }
    }
}
Gary's Mod Triggerbot
C++:
void shoot() {
    uintptr_t shoot = *(uintptr_t*)(clientBase + o_forceAttack) = 6;
}

void triggerbot() {
    ent* localPlayer = localPlayerGet();
    if (localPlayer != 0) {
        int crosshairID = localPlayer->crosshairid;
        if (crosshairID != 0 && crosshairID < 64) {
            ent* entity = *(ent**)(clientBase + o_entityList + ((crosshairID - 1) * 0x10));
            if (entity->teamnum != localPlayer->teamnum) {
                shoot();
            }
        }
    }
GMOD Third Person Hack
C++:
void thirdPerson() {
    ent* localPlayer = localPlayerGet();
    if (localPlayer != 0) {
        localPlayer->observermode = 1;
    }
}
void thirdPersonOff() {
    ent* localPlayer = localPlayerGet();
    if (localPlayer != 0) {
        localPlayer->observermode = 0;
    }
}
GMOD FOV Changer
C++:
void fovChanger() {
    ent* localPlayer = localPlayerGet();
    if (localPlayer != 0) {
        localPlayer->fov = 130;
    }
GMOD LUA
Many hacks are made using GMOD LUA, which is how regular game mods are made as well. Here are some various LUA resources for GMOD:

Gary's Mod Entity List
It's the same in every Source Engine game: Video Tutorial - Reverse Engineering - How To Find the CSGO Entity List
The entity list is an array of client objects, offset 0x10 is a pointer to the actual entity. You just loop through this list by adding 0x10 to get the address of each pointer. De-reference the pointer and you get the actualy entity object. Then you can use the offsets above.

Gary's Mod View Matrix & World To Screen
ViewMatrix Offset = 0x003FCD5C
Use the Direct3D WorldToScreen function here: Source Code - World2Screen - DIrect3D and OpenGL WorldToScreen Functions

GMOD BoneMatrix
Use the CSGO tutorial: Guide - How to find the Bone Matrix & Use m_dwBoneMatrix
Solved - Bone matrix offset not working
Solved - tut on reversing "C_BaseAnimating::SetupBones"

Various GMOD Hack Threads
 
Last edited:
  • Like
Reactions: Kleon742

Rake

I'm not your friend
Administrator
Jan 21, 2014
12,510
78,998
2,419
Various GMOD Cheats
credits: qubard, HirakoShiniji, Nixer1337, Cyth, fr1kin, Project-Zenith, JReverse
 

Attachments

You can download 0 Attachments
  • Like
Reactions: Kleon742

Helios

Coder
Meme Tier VIP
May 24, 2012
207
1,113
4
A couple of days ago I decided to start writing a Gmod cheat, and so far it's going pretty great.

I'll be posting updates in this thread if anyone's interested. I'll also be posting screenshots later.

Planned features I can think of atm:
There are of course a lot of "smaller" features, I'm just mentioning the "bigger" ones.

Aimbot:
Aimbot
Aim Assist
Auto Shoot
Crosshair - ✓
Headshot Helper - ✓
No-recoil - ✓
No-spread - ✓
Smooth aim
Triggerbot - ✓
Hitmarker - ✓

ESP/Wallhack:
2D Box - ✓
3D Box
Bone - ✓
Chams - ✓
Distance - ✓
Grenade & Rocket - ✓
Healthbar - ✓
Line - ✓
Nametag - ✓
Normal wallhack - ✓
Radar
Visibility checks
Weapon - ✓
Wireframe - ✓

Miscellaneous:
Enemy aim warning
Laser eyes
Laser sight - ✓
No-clip - ✓
No-sky - ✓
Show weapons - ✓
Speedhack

Gamemodes:
Since I have never been a big Gmod player, I don't know that many gamemodes, so I don't have that many features planned in this area atm. The stuff I can think of atm is, showing traitors in the TTT gamemode and showing what class the player is in some other gamemodes.
[TTT] Show Traitors
[TTT] Show Innocents
[TTT] Show Detectives
[TTT] Show C4 - ✓
[TTT] Blow C4 - ✓

If anybody has a feature that is not listed, please leave a reply.

Update, 25th of July 2012 - Bone ESP added
 
Last edited by a moderator:

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,187
19,938
76
Maybe godmode? I don't know really whether it is possible, never had that game :) But you definetly know. ;)

Just thought to speak up, maybe you've forgotten it or it's just the 'smaller thing'. If it is possible ofcourse :D
 

Fleep

Founder
Meme Tier VIP
May 20, 2012
572
11,023
6
Nice the ESP is looking pretty good, how difficult was it to get that working?

Fleep
 

Helios

Coder
Meme Tier VIP
May 24, 2012
207
1,113
4
c5 said:
Maybe godmode? I don't know really whether it is possible, never had that game :) But you definetly know. ;)

Just thought to speak up, maybe you've forgotten it or it's just the 'smaller thing'. If it is possible ofcourse :D
Thanks for the suggestion! :)

Godmode is rarely possible, so I don't think it's possible here either (sadly). But if the server has "sv_cheats" enabled, it's possible. So I could add a check and then enable godmode if sv_cheats is enabled.

Fleep said:
Nice the ESP is looking pretty good, how difficult was it to get that working?

Fleep
Thanks :) - Well it was easy, but hard. A problem that actually took me quite a bit of time to figure out, was making the cheat draw the bones as you see them on the picture.

When I was done drawing a line to fx the hand, the line would go directly from the hand to the groin (this happened whenever you stopped drawing to a bone that wasn't the lower spine bone), and that just looked horrible. To avoid that I thought of drawing the lines back from the hand to the forearm to the upper arm then to the upper part of the spine, then middle and at last the lower part. Doing that fixed it.

EDIT: I'll of course remove the bone that looks like a wang... xD
 

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,187
19,938
76
Helios said:
EDIT: I'll of course remove the bone that looks like a wang... xD
lol :D keep it for the greater cause
 

Helios

Coder
Meme Tier VIP
May 24, 2012
207
1,113
4
Update, 31th of July 2012 - No Recoil + Triggerbot added;
 

RashDash

Newbie
Full Member
Sep 14, 2012
5
232
0
When will it be finished or have you given up?
Maybe release a beta version so far?
 

Helios

Coder
Meme Tier VIP
May 24, 2012
207
1,113
4
When will it be finished or have you given up?
Maybe release a beta version so far?
I just got tired of it. Sure I can release a beta version. It might have to wait a couple, but I'll see if I've got the time tomorrow :)
 

undefinedArray

Newbie
Full Member
Aug 13, 2012
31
302
0
I have Garry's Mod and will have no problem testing it out, i might even set up my own temporary Gmod server since my friends have been wanting to play together.

Lemme know when its finished and ill be glad to test it out,

You can also join the server if you'd want to test it yourself, I'll try to get rid of VAC protection and such
 

Helios

Coder
Meme Tier VIP
May 24, 2012
207
1,113
4
I have Garry's Mod and will have no problem testing it out, i might even set up my own temporary Gmod server since my friends have been wanting to play together.

Lemme know when its finished and ill be glad to test it out,

You can also join the server if you'd want to test it yourself, I'll try to get rid of VAC protection and such
Thanks man, that will be really helpful :) - It will be some days though.
 

Helios

Coder
Meme Tier VIP
May 24, 2012
207
1,113
4
I'm home again till Sunday, but I'm going to bed now. I took a quick look at it and I need to update a few things, but a beta version of the hack will be ready tomorrow. I'll also have to update it to Gmod13 though.

EDIT: This might take some time, I'm very busy atm, plus there are some security precautions I'd like to take before I release this.
 
Last edited:

RashDash

Newbie
Full Member
Sep 14, 2012
5
232
0
Hey, just to let you know, I live in Australia, and its 10pm here. I will be up till like 7pm your time, maybe later, but around what time will you be releasing the beta? I will try to put in some time testing it and then giving you some feed back.
 
Last edited:

rockbaskit

Newbie
Aug 19, 2012
4
212
0
Helios I love the fact that you're attempting to make a cheat for gmod, but I do feel I do need to give you some insight. First off I hope you know that Garry has implemented his own Anticheat for Garrysmod that can detect malicious LUA Code even though the game is coded in Lua. That's why Garrys mod has been such a hacking playground for such a Long time, VAC couldn't tell the difference between malicious code and the game itself, but the anticheat that Garry has added personally to gmod can and has globally banned alot of people from servers. What I am interested in knowing is how. This to me sounds like another seth hack and if you do manage to get around the new anticheat you will get many thanks from me
 

Helios

Coder
Meme Tier VIP
May 24, 2012
207
1,113
4
Helios I love the fact that you're attempting to make a cheat for gmod, but I do feel I do need to give you some insight. First off I hope you know that Garry has implemented his own Anticheat for Garrysmod that can detect malicious LUA Code even though the game is coded in Lua. That's why Garrys mod has been such a hacking playground for such a Long time, VAC couldn't tell the difference between malicious code and the game itself, but the anticheat that Garry has added personally to gmod can and has globally banned alot of people from servers.
I am aware that Garry implemented his own anti-cheat. If I've been reading the right stuff, I should be able to take care of that. Do you have more information on his anti-cheat?

This to me sounds like another seth hack
Is that a good thing? I know who he is, but I've read a lot of different stuff.
 

RashDash

Newbie
Full Member
Sep 14, 2012
5
232
0
Still no release? Btw, just thought I'd mention, there is another hacking site, I dont know if I can post the name, that sells hacks and the creators name is Helios. Wouldn't happen to be you would it? The site also sells a BF3 hack, best one running, and it was recently patched, so hes been EXTREMELY busy lately....sorta like you.....

EDIT: But they dont have a gmod hack, every other source game though.
 
Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Similar threads

Community Mods