Title / Thread Starter Last Post ByReverse Sort Order Replies Views
Winner x 33


We are not interested in threads that state you are looking for a coder for your server/addon/gamemode. Please instead use this website. https://scriptfodder.com/

3 Weeks Ago
by NiandraLades Go to last post
2 8,506


This forum is for help modding Garry's Mod. This includes everything from scripting to mapping. Your first port of call should be the Garry's Mod Wiki. If you don't find what you need - please post a thread in this forum asking for the information to...

27th February 2013
by Sethxi Go to last post
6 8,431
Winner x 47

Next Update ( 2 3 4 5 .. 91 92 93 94 Last ) This thread has images

Current to-do list Latest changelog This is a thread for discussing upcoming Garry's Mod updates. All changes in the latest changelog should be already in the dev branch, so if anyone here is running on that branch, please test those changes and...

_Kilburn7 reading
1 Minute Ago
by Robotboy655 Go to last post
3,729 199,796


Hello everyone sorry to bother you but I need your help with a serious problem, There is a spam message in my console all the time saying "removeid: couldn't find STEAM_0:1:92046224 Writing cfg/banned_user.cfg." wich I think is a serious problem since my...

kurrey7 reading
2 Minutes Ago
by RonanZer0 Go to last post
5 55

coding my first addon

hello so i am trying to make a addon that prints a welcome message when u join the server but... i have no clue how and when i cant find out how to do something i just quit and i never learn.. so instead of just quitting ill see if any one can help me? i...

TrippleT3 reading
5 Minutes Ago
by TrippleT Go to last post
20 384

Custom ply:SetBodygroup IDs?

I am adding the option to switch bodygroups/skins to my server's pointshop. This is the code I am using: http://facepunch.com/showthread.php?t=1370552&p=45503950&viewfull=1#post45503950 Within that code, there's the different body pieces such as head...

tiertwelve4 reading
6 Minutes Ago
by Jeezy Go to last post
1 22

GMod - What are you working on? September 2014 (#37) ( 2 3 4 5 .. 13 14 15 16 Last ) This thread has images

Time for another thread. Highlights from the previous thread

Mors Quaedam30 reading
18 Minutes Ago
by PortalGod Go to last post
630 42,425

Problems That Don't Need Their Own Thread v2.0 ( 2 3 4 5 .. 32 33 34 35 Last ) This thread has images

Welcome to the PTDNT page ! Have a small problem and need help with it , but you don't want to start a new thread and ask about your problem then you've came to the right thread ! To keep it clean -Post your problem ("Variable returns nil at some...

sm69baller5 reading
39 Minutes Ago
by Smt Go to last post
1,387 31,235
Winner x 33

ScriptFodder ( 2 3 4 5 .. 9 10 11 12 Last ) This thread has images

ScriptFodder is a script marketplace and job listings site for Garry's Mod. https://scriptfodder.com http://i.imgur.com/RbqLlcq.pnghttps://dl.dropboxusercontent.com/u/3659637/Screenshot_2014-09-25-23-23-21.png Any issues email to...

Handsome Matt7 reading
49 Minutes Ago
by Svenskunganka Go to last post
474 18,212

= expected near function?

gamemodes/seriousrp/gamemode/player.lua:31: unexpected symbol near '==' 1. unknown - gamemodes/seriousrp/gamemode/player.lua:0 Im getting that error ^^ in my player.lua file which i will paste under this: --> Defining strings (MONEY_STARTAMOUNT,...

xAl3xTh3K1nG4 reading
1 Hour Ago
by RonanZer0 Go to last post
2 59

Making a Config.lua [Support]

HI, I start off this afternoon as to ask "How would I make a config?", aha yes by now you're thinking... "Dude, defug?". But seriously the problem I'm trying to workout in my tiny little brain is howto make a config (Like I already said). But a config for...

Chickengbs7 reading
1 Hour Ago
by Jarva Go to last post
5 43

Creating Dbuttons

How can I create Dbuttons based on a table. So if i had buttons = { { title = "Test1", },

1 Hour Ago
by Nookyava Go to last post
5 88

Arresting menu (NPC) HELP!

Hello I'm looking if someone here know if there is a script where you have to press E on a npc and then you can choose the person within some distance to arrest. If anyone made an addon like this please let me know! I REALLY NEED IT! Thanks in advance c:

kurrey2 reading
1 Hour Ago
by kurrey Go to last post
0 30
Lua scripting
Winner x 28

Coderhire Addon Cloning Thread ( 2 3 4 5 6 Last ) This thread has images

Edit 9/14: With the demise of Coderhire and the appearance of a couple clones, I would like this thread to still be focused on recreating paid addons not limited to Coderhire. Gracias The sole purpose is to find fairly easy/5 minute scripts that people...

Exho4 reading
2 Hours Ago
by Tomelyr Go to last post
239 9,460

Some entity questions

Since I started to work on my car dealer again, I ended up being stuck. Now I have some questions since it's really hard to find anything related to it if you're not knowing what to look for. 1. How would I have a vehicle spawned from the derma panel...

3 Hours Ago
by zerothefallen Go to last post
6 144
Lua scripting

NextBot Coding and Discussion Thread ( 2 3 4 5 .. 7 8 9 10 Last ) This thread has images

This thread will be for anything related to the new NextBot system, I'll keep the OP updated with useful information to help anyone who has questions or needs help. Update 160 added bindings to the nextbot system, which is what CSS, TF2 and L4D bots...

highvoltage1 reading
4 Hours Ago
by Luni Go to last post
374 30,806

Timer Problem

So I have coded a cooldown onto a swep with timers, But the problem is that the timers are global and someone can start the cooldown then everyone has the cooldown, so I posted here asking if there was a way to make timers local and only apply for that...

7 Hours Ago
by AnonTakesOver Go to last post
4 80
Lua scripting

Hiring a Coder MegaThread ~ Rip In Peace CoderHire ( 2 3 4 5 6 7 Last ) This thread has images

New Gmod Scripts/Jobs Site: ScriptFodder By now we all heard the news that http://coderhire.com/ is going to be closing it's doors so might as well go back to the good ol' megathread days. This thread is for anyone who wishes to hire a coder to...

YourStalker1 reading
7 Hours Ago
by YourStalker Go to last post
257 10,553

Scoreboard question

i want to make a custom scoreboard how would i loop through all the players and make a new bar on the scoreboard and make it scrolling or something so you can scroll down to see the rest of the players

8 Hours Ago
by AnonTakesOver Go to last post
12 233

[Free] Giving access to 16 slot server for testing

I have a spare 16 slot GMOD server not in use, LOCATED IN SYDNEY, AUSTRALIA. However, the location of the server can be swapped over to PHOENIX, USA if needed. (or BRISBANE, AUCKLAND, MELBOURNE) I want to give this to one person, or group, who would...

10 Hours Ago
by rebel1324 Go to last post
13 192

TTT scoreboard fix

I may be a tad late on this issue. But some months ago a GMod update went out and it altered many small features on servers. In this case, it altered my scoreboard for my TTT server. Originally, it displayed member's ranks, individual name colors and...

12 Hours Ago
by code_gs Go to last post
1 62
Lua scripting

SWEP + RAGDOLL [Support]

Hello, I bring myself here this evening to ask for an answer, an answer what hopefully someone has enough gLua knowledge. I'm just wondering If I created my own SWEP(wrench, crowbar etc) I want it so when you hit a player they'll go into a ragdoll for x...

16 Hours Ago
by Chickengbs Go to last post
2 98
Lua scripting

solved Airdrop Timer (Again)

function airdrop(ply) //You don't need your hook here //What a hook does is it tells your function when to run, Your function will run on the exact same thick as your hook does if #player.GetAll() >= 10 then PrintMessage( HUD_PRINTTALK, "airdrop...

17 Hours Ago
by SwikCoder Go to last post
2 81
Lua scripting

FireBullets, Direction to Target?

In the following code: local bullet = {} bullet.Num = /*data.bullets or */ 1 bullet.Src = eye bullet.Dir = self:GetForward() bullet.Spread = Vector( 1 , 1, 0) bullet.Tracer = 1 bullet.TracerName = /* data.type or */ "Tracer"...

17 Hours Ago
by Kogitsune Go to last post
1 61

Player Models for TTT

Hey, I was wondering where to edit the TTT file in which it chooses the models for the gamemode. I do not want this for pointshop, I just want to know where it lists the models that are used are the general models, like the 4 CSS models? Where is that...

17 Hours Ago
by LUModder Go to last post
4 96
Lua scripting

Antispam Prototype This thread has images

Hey im currently working on an antispam script which should be a bit more intelligent than just preventing ppl from spawning props if they reaced like 5props / sec. Initially just wanted to get a system that prevents ppl from spawning props inside each...

17 Hours Ago
by Uke Go to last post
16 616

Check number of players that are spawned

Note that I want to check all loaded in/spawned players. What I want to do is have a "waiting for players" phase in my gamemode, so I'd need to check the amount of players. The only problem is, the only way I know to do that is with Player:GetCount() and...

18 Hours Ago
by CallMePyro Go to last post
8 128

class_hunter.lua:59: Tried to use a null entity

I don't know what cause this erros, but sometimes I read the cmd of my server and I saw this error Here's class_hunter.lua // Create new class local CLASS = {} // Some settings for the class

19 Hours Ago
by Nicksf13 Go to last post
4 101

Material stuff with weapons

Ok so ik about SWEP.ViewModel SWEP.WorldModel is there a way so i can change the texture to like a tool gun material ?

20 Hours Ago
by log404 Go to last post
5 109

Playermodels not showing up.No errors or anything

This is my code for it ITEM.Name = 'Vendetta' ITEM.Price = 1000 ITEM.Model = 'models/code_gs/vendetta/vendettaplayer.mdl' ITEM.AllowedUserGroups = { "vip", "uvip", "manager", "manager", "donator", "admin", "superadmin","moderatorplus", "owner" } ...

22 Hours Ago
by Excelsior Go to last post
3 71

gamemodes/desire/gamemode/cl_init.lua:4: attempt to index a nil value

I'm getting this error, when I shouldn't (in theory) be. gamemodes/desire/gamemode/cl_init.lua:4: attempt to index a nil value VIP table (in shared.lua) VIP = {} VIP = { name = "No VIP", salaryboost = 1,

22 Hours Ago
by Internet1001 Go to last post
9 215

solved <eof> expected near 'end' error?

Allright so i just coded in some checks for teams and got thsi error: gamemodes/seriousrp/gamemode/init.lua:35: '<eof>' expected near 'end' 1. unknown - gamemodes/seriousrp/gamemode/init.lua:0 Couldn't Load Init Script:...

22 Hours Ago
by rotor2 Go to last post
1 106
Lua scripting

Custom DarkRP Job, Script issue

Hi, I'm trying to create a custom job which is only available to select ULX groups. However I can't get it working :/ TEAM_POLICE = AddExtraTeam("S.W.A.T Marksman", Color(25, 25, 170, 255), "models/player/leet.mdl", ], {"arrest_stick",...

23 Hours Ago
by CoreBase Go to last post
3 115

Player view/wep.CalcView issues (Prop Hunt)

Ok so I have a code on my prop hunt server that gives the last prop a gun. The problem is when the prop gets the gun, the view doesn't change which makes it a real pain when trying to shoot. So I'm wanting to make it so that when that last prop gets the...

23 Hours Ago
by covey88 Go to last post
2 63
Lua scripting

What could break hitboxes in a gamemode?

Hi guys, sorry in advance for not being able to post code here, the developer of the addon wont update his work, but won't allow me to release any of the code. In the gamemode alien gungame...

1 Day Ago
by LordButthurt Go to last post
2 93

Motd Lua error

So I recently added QAC anti-cheat and when I restarted my server everything was ok but when I joined it this. ps: dont know how to use past bins... Client "M21z" connected (*.*.*.*:*). Writing cfg/banned_user.cfg. TTT initializing convar settings......

1 Day Ago
by SwikCoder Go to last post
15 370
Winner x 38

SharpGMad - gma explorer This thread has images

SharpGMad I have come to the point that I am releasing a project I've been working on lately. It is the tool for manipulating the gma files. But I've rewritten it in C#. It supports all the default features (extract and pack) gmad has, but I've...

1 Day Ago
by BFG9000 Go to last post
26 6,859
Lua scripting

Trying to fix that live players dont see names of people in spectator DM

I am trying to fix but where live players in ttt can see names of people that are in Spectaor DM and can suit zoom on them. So here is problem: garrysmod/gamemodes/terrortown/gamemode/cl_targetid.lua function GM:HUDDrawTargetID() local client =...

1 Day Ago
by tommy228 Go to last post
4 215
Lua scripting

Weapon is shown in the Player´s Body

Hello Community, I made a gun for TTT and there´s 1 problem. The gun ist not in the player´s hand like normal, the gun is going out of his body ! Here´s my Weapon Code : if SERVER then

1 Day Ago
by Deadalus3010 Go to last post
2 72

solved DeriveGamemode?

Allright im a fairly new coder to lua and i know i proberly shouldn't start out making a gamemode, i know a few things. But i'm trying to learn as i create. So i made a swep, now since its a gamemode from scratch i dont have a spawn menu (Q) And i tried...

1 Day Ago
by xAl3xTh3K1nG Go to last post
8 80

Function in table.

okay = {} function okay:Ok(str) print(str) end okay.Ok("hi") It says str is nil. What could i do to achieve what im trying to? I thought about okay:Ok("hi") instrad, but cant test atm

1 Day Ago
by Robotboy655 Go to last post
1 97

Player Model is gray? This thread has images

(If this is the wrong section, let me know and I apologize in advanced) Installed a fresh Garry's Mod server and decided to put a Jailbreak gamemode on it (https://scriptfodder.com/scripts/view/24) but the prisoner team all have this kind of player...

1 Day Ago
by NiandraLades Go to last post
16 228