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

NEED A CODER? DON'T MAKE A THREAD - LAST UPDATED 25 OCTOBER 2013 - READ THIS

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/

3rd September 2014
by NiandraLades Go to last post
2 8,752
Garry
 

MODDING HELP - READ ME FIRST

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,622
QUESTION
 

Gmad.exe [Not allowed by whitelist]

I have finished my gamemode that I have worked so very hard on. The only problem is that I can't make it into a gma to publish. Every single file in the under gamemodes/blockado/content/ gets an error about it not being on the whitelist. For example, the...

Stargazer808 6 reading
20 Minutes Ago
by Stargazer808 Go to last post
6 80
YouTUBE
 

GMod - What are you working on? October 2014 (#38) ( 2 3 4 5 .. 11 12 13 14 Last ) This thread has images

PM me if anything else needs to be added, as always. Highlights from the previous thread

Mors Quaedam 13 reading
26 Minutes Ago
by highvoltage Go to last post
538 37,239
Help
 

CreateClientConVar not registering on dedicated server, but works on local single player server

So i have this add-on that i added to my add ons folder, and to call the add ons you type in a console command, (ah_snake). When i hit "start new game" and the go into a single player game, i open up the console and the command is there. However, when i...

mattk0628 3 reading
49 Minutes Ago
by mattk0628 Go to last post
0 38
Release
 
Dumb x 50

ScriptFodder ( 2 3 4 5 .. 21 22 23 24 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 Matt 6 reading
53 Minutes Ago
by gonzalolog Go to last post
920 36,575
QUESTION
 

DModelPanel and DColorMixer

Hello, I was wondering how to make a DColorMixer color the clothing of a DModelPanel (playermodel in this case) So far I've tried the following: function PaintThing:ValueChanged(color) Model:SetColor(color); end However it colors the...

kpjVideo 2 reading
1 Hour Ago
by Robotboy655 Go to last post
3 117
POST YOUR
 

Problems That Don't Need Their Own Thread v2.0 ( 2 3 4 5 .. 42 43 44 45 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...

sm69baller 2 reading
1 Hour Ago
by wh1t3rabbit Go to last post
1,781 41,153
Lua scripting
 

Nextbots. Register that a player has been killed

I'm trying to get my bot to go idle once it has killed me, or i have died by other means, but when i die, the bot keeps trying t shoot me or melee me as if i were still alive. i tried this if(!self:GetEnemy():Alive() or !self:GetEnemy() or...

1 Hour Ago
by MysticLlama Go to last post
3 73
Help
 

Player money?

Hello, I was wondering where is everyones in-game money is? Like where is it in the files?

PredzVAIN 2 reading
1 Hour Ago
by PredzVAIN Go to last post
10 107
Lua scripting
 

solved Need help adding suit armor to everyones shop menu

I need help in figuring out how i would add item_battery to the ammo shop for everyone once they go into the f4 menu, I believe it has to be in a fashion such as this? DarkRP.createAmmoType("AirboatGun", { name = "Winchester ammo(50)", model =...

AtGNeuro 1 reading
1 Hour Ago
by AtGNeuro Go to last post
2 82
Lua scripting
 

Dframe with a dmodelpanel some help needed

Hello, im trying to add a player model selection witch is donator only i want a arrow to change selections i will post a picture my current code is function Models( ply ) local Panel = vgui.Create( "DPanel" ) Panel:SetPos( 10, 10 ) ...

2 Hours Ago
by CertifiedCode Go to last post
7 139
Help
 

Pointshop Points for Taunting

Hey guys! So I have a Prop Hunt server, and I'd like it to have a feature where a certain amount of points is given for each taunt that is taunted. So for one taunt the player could receive 15 points, then playing another taunt could give 5 points. ...

2 Hours Ago
by MeagreMuffin Go to last post
6 96
Help
 

I need a suggestion to a god mode add-on.

Hi and thank you for reading this, I was currently frustrated with trying to find a add-on that I've seen back in my day on many servers on the old GMod where when you spawn, you have god mode and any weapon you take out stops the god mode, anyone know...

2 Hours Ago
by bluebull107 Go to last post
6 138
Help
 

DarkRP Help Thread V1 ( 2 3 4 5 .. 36 37 38 39 Last ) This thread has images

Hello Everybody and Welcome to the DarkRP Help thread. This forum covers everything related to DarkRP. This is the list of things that you can help others or get help from. 1. Lua=this includes HUD'S, lua errors, and lua code. 2. Jobs=generally...

2 Hours Ago
by doomblood66 Go to last post
1,551 57,967
Help
 

Colored chat - How do I use chat.Addtext properly?

Hi guys, for my gamemode, I need colored messages to appear in all players chat boxes. Now, the problem is, I don't fully understand how to use chat.Addtext properly. Coloring text doesn't work with ChatPrint(), does it? Can someone explain to me,...

Seanrinox 1 reading
3 Hours Ago
by Acecool Go to last post
3 92
Help
 

DarkRP Config fails

I dont think my D:\server\garrysmod\gamemodes\DarkRP\gamemode\config\config works as when i try and set npcs or cars or not to drop weapons it doesnt do shit, even when ii reload the server. Any help>

3 Hours Ago
by doomblood66 Go to last post
8 117
Help
 

SetBaseKarma error

lua/autorun/karmareset.lua:13: attempt to call method 'SetBaseKarma' (a nil value) 1. fn - lua/autorun/karmareset.lua:13 2. Call - addons/ulib/lua/ulib/shared/hook.lua:365 3. RoundStateChange - gamemodes/terrortown/gamemode/cl_init.lua:131 4. func...

3 Hours Ago
by Acecool Go to last post
1 45
Help
 

Need help with an idea.

Okay so MoronYard has an option that will disable all hats clientside for that player. I would like to actually have the option for my servers, so that we can have tf2 hats in the pointshop, and the players that dont have tf2 installed can have the...

3 Hours Ago
by BFG9000 Go to last post
3 124
Help
 

Darkrp Doors Not Being Able to be buyed!

My Darkrp server is running like normal but there is just a masive problem. No one can buy doors it gives a error in console saying 'unknown command: darkrp' Everything works and all but this all started after i added two classes swat and fbi. just to...

4 Hours Ago
by Connor181 Go to last post
6 148
Help
 

M9K Autorun Error

Making weapons on M9K Base, after made sounds in autorun, get this error several times in console. addons/ndg misc. weapons/lua/autorun/ndgautorunmisc.lua:162: '}' expected (to close '{' at line 156) near 'sound' 1. unknown - addons/ndg misc....

4 Hours Ago
by overki11 Go to last post
3 69
Help
 

solved Respawning doors

Hi I want to know if there is some code I need to add to my door charge so that when it blows down doors the doors respawna after like 20 seconds. I have seen this feature in other server it's just I'm not sure what to do. Here is the code for the...

4 Hours Ago
by Caliboy50124 Go to last post
5 140
Help
 

DModel positioning? This thread has images

Hello, with some of my models in a model panel, they are very small. What is the best way to make them fit the panel, without being too small.

5 Hours Ago
by Robotboy655 Go to last post
1 47
Help
 

Switching player's view to weapon (Prop Hunt)

So I have a code on my prop hunt server that gives the last prop alive a weapon. The problem is, when the prop player gets the gun, the view stays with the prop rather than switching to the gun's view. I just need to know how to make it switch to the...

6 Hours Ago
by covey88 Go to last post
0 40
Help
 

solved Spectator Team. Deathrun This thread has images

So I've recently started to host a Deathrun server. I've occurred a few problems. One of these is the spectator team. So what i want is a spectator team that users can join individually. And be moved to if AFK for an amount of time. I've looked in...

RayoZ 1 reading
7 Hours Ago
by RayoZ Go to last post
15 202
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...

highvoltage 1 reading
8 Hours Ago
by Wolfo Go to last post
381 31,728
Help
 

solved Any Way to Control Volume for sound.PlayURL This thread has images

I'm curious if there is a parameter somewhere to control the volume of the streaming audio called by sound.PlayURL. All I see is "3d", "mono", "noplay" and "block".

8 Hours Ago
by therealist Go to last post
3 78
Help
 

solved Dynamic variables - How do I check whether they are existing or not?

Hey Guys, I'm currently working on a Counter Strike-ish buy system. I intend to use dynamic variables for that, because they seem reasonable. Basically, what the following is supposed to do, is add money to a players account: PlayerMoney = {} --The...

10 Hours Ago
by Seanrinox Go to last post
6 128
Help
 

Scoreboard help with defining ranks.

This is gears ttt scoreboard: This is the code: http://pastebin.com/wqLCSEQL This is the part that I don't understand what to write for Scoreboard.Ranks = true Scoreboard.RankGetName = nil <--- This is giving me errors ...

11 Hours Ago
by Niomi Go to last post
3 86
Lua scripting
 
Winner x 31

Coderhire Addon Cloning Thread ( 2 3 4 5 .. 7 8 9 10 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...

Exho 1 reading
13 Hours Ago
by Tomelyr Go to last post
361 16,817
Help
 

Ammo In F4 Menu, Doesnt give ammo + Weapons purchasable by everyone

Hello again all. I've been bashing my head against the wall for a few days now over a few issues in my server: Firstly, I have the ammo in the F4 Menu and it appears, purchases and drops on the ground fine. But when i pick it up no ammo is given,...

13 Hours Ago
by doomblood66 Go to last post
7 107
Help
 

RPM Swep Bases help

Hey, so I have this problem shown in this thread: http://facepunch.com/showthread.php?t=1432113&p=46279993#post46279993 (it got closed because I accidentally put it in the wrong category) But SWEP.Primary.Delay doesn't work // Variables that...

14 Hours Ago
by BFG9000 Go to last post
2 78
Lua scripting
 

PlayerDeath Hook - Who killed the Player?

Hello everyone. So basically, in my gamemode, I have custom sweps which are ranged. It always registers as "mdm_glock18" has killed the player, rather than saying the player has killed them. How can I check who the weapon belongs to? function...

16 Hours Ago
by Luni Go to last post
5 181
Lua scripting
 

Focus on a html window?

Hello, i wonder how i can focus the mouse on a html window. I have this code: local html = vgui.Create( "HTML" ) html:SetSize( ScrW() - 200, ScrH() - 400 ) html:SetPos( 10, ScrH() / 2 - 50) html:OpenURL( "URLXXX" ) How can i focus the html...

16 Hours Ago
by Acecool Go to last post
3 109
Help
 

Hud

Another help support post, but this time i need with my hud theres something wrong when ever i boot it up. function HUDHide(myhud) for k, v in pairs{"CHudHealth","CHudBattery"} do if myhud == v then return false end end end...

17 Hours Ago
by Acecool Go to last post
3 111
cpp
 

RunConsoleCommand Bypass? This thread has images

Yo yo, is there any way i can do a run console command that is blocked? for example crosshair bind ? thx yo yo

17 Hours Ago
by Revenge282 Go to last post
15 534
Lua scripting
 

Why will my add-on not work?!

Recently, I have been making SWEPs just for fun. I just wanted to mess around with them in single player. So instead of making my own code I just copied and pasted. Since I was making an AUG and was using the GDCW base, I used the Sub-Base,...

22 Hours Ago
by bosnian_cyco Go to last post
2 130
Help
 

noob lua help im so bad

SWEP.Primary.ClipSize = 15 function SWEP:ClipSize() self.Owner:SteamID() == "STEAM_0:1:40852869" then end how do i change per player is it just return 100 or something

22 Hours Ago
by kpjVideo Go to last post
1 113
Shitpost
 

ULX - Ban Bug

Whenever i ban someone it says You have banned (Console) for 1440 minutes

22 Hours Ago
by LUModder Go to last post
3 111
Lua scripting
 

FAS 2.0 : Problem Having trouble switching gun with lua

Ok.. so I cannot switch the gun's using GetWeapon(), I can use getweapon on about any-other gun's and they switch with no problem? No errors or nothing, They just refuse to switch, somtimes they give a occasional holsteranim is nil error? Sorry if...

23 Hours Ago
by Acecool Go to last post
6 133
Help
 

solved How can I make that a Derma Menu opens once the player spawn?

How can I make that a Derma Menu opens once the player spawn? I made a derma menu that I want to open once the player has spawned.. the script is client side.. tips on how to do this?

VashBaldeus 1 reading
23 Hours Ago
by Tolee Go to last post
8 136
Help
 

NextBot Contantly Follow Entity

Hello all, I dived into learning about nextbot creation and found myself wanting to make a simple nextbot that follows the player around (like a companion). I then found myself stuck as I've gotten really confused about coroutines and my functions were...

23 Hours Ago
by Acecool Go to last post
2 88