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,745
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,616
Lua scripting
 

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 Minute Ago
by AtGNeuro Go to last post
0 1
YouTUBE
 

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

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

Mors Quaedam 12 reading
30 Minutes Ago
by Ott Go to last post
515 35,960
Release
 
Dumb x 49

ScriptFodder ( 2 3 4 5 .. 20 21 22 23 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 2 reading
1 Hour Ago
by Sally Go to last post
918 36,209
Help
 

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...

2 Hours Ago
by Sm63 Go to last post
4 104
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,...

3 Hours Ago
by bosnian_cyco Go to last post
2 102
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...

3 Hours Ago
by LUModder Go to last post
1,772 40,899
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

3 Hours Ago
by kpjVideo Go to last post
1 81
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...

3 Hours Ago
by LUModder Go to last post
2 70
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...

3 Hours Ago
by LUModder Go to last post
1 67
Shitpost
 

ULX - Ban Bug

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

3 Hours Ago
by LUModder Go to last post
3 83
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...

4 Hours Ago
by Acecool Go to last post
6 118
Help
 

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
4 Hours Ago
by Tolee Go to last post
8 120
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...

Computer600 1 reading
4 Hours Ago
by Acecool Go to last post
2 67
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...

6 Hours Ago
by kpjVideo Go to last post
0 54
cpp
 

RunConsoleCommand Bypass?

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

6 Hours Ago
by kittix Go to last post
14 430
Help
 

Hook Problem

I need to make a script that has 6 hooks to websites like when someone writes addons goes to addons file facebook goes to facebook page rules goes to rules page forum goes to forum page and 2 more in case I need, How can I put these all in one...

6 Hours Ago
by _FR_Starfox64 Go to last post
9 194
pc games
 

How to make a seperate category for my server?

I am wanting to make a seperate category for my server, so it comes under a category called something like SeriousRP or something like that, but how do I do that? Can someone please help me, I don't want it under the 'DarkRP' category any more, please...

6 Hours Ago
by nettsam Go to last post
12 307
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....

7 Hours Ago
by BFG9000 Go to last post
2 43
Help
 

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...

8 Hours Ago
by zerf Go to last post
11 145
Help
 

solved Mounting Gamemode

Hi facepunch! I need some help with mounting my gamemode to my server. I have made a a little gamemode that i would like to start on, on my dedicated server. I put my gamemode into my gamemodes folder and it doesent find it. Any help?...

8 Hours Ago
by PotatoJunior Go to last post
2 72
Help
 

solved Changing the DButton DLabel text size..?

Changing the DButton DLabel text size..? Can you tell me which function does that? I went through the wiki and can't find anything..

8 Hours Ago
by Invule Go to last post
3 69
Help
 

solved Derma Menu Image.. where do I put the image.vtf file?

I have issues with adding the picture properly.. What folder do I add it to? Also how can I enlarge the DButton text size and DLabel text size?

8 Hours Ago
by Invule Go to last post
4 50
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...

8 Hours Ago
by Tolee Go to last post
2 69
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...

8 Hours Ago
by slashx24 Go to last post
0 52
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...

8 Hours Ago
by overki11 Go to last post
0 32
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 2 reading
9 Hours Ago
by Baron von Hax Go to last post
360 16,572
Help
 

Having my entity run a console command

I would like to run a console command when my entity is used. Here is the code I have tried: function ENT:Use( ply ) if ( ply:IsPlayer() ) then RunConsoleCommand( 'opencp' ) end

9 Hours Ago
by Mr.Mezzy Go to last post
18 210
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...

10 Hours Ago
by Binkadin Go to last post
3 103
Help
 

How to add Prop rotation?

Was wondering if anyone could help me in sorting out the ability for prop rotation for this version of Prop Hunt: https://github.com/xspacesoft/PropHunt

12 Hours Ago
by MeagreMuffin Go to last post
8 297
Help
 

Prop Hunt Ignite Spots

Hey! So I was wondering if there is a way to ignite props when they go into certain hiding spots, and to stop them from going outside of the map. Is this possible? Because I've seen this on some servers. Thanks!

12 Hours Ago
by MeagreMuffin Go to last post
0 48
Help
 

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...

12 Hours Ago
by AirBlack Go to last post
5 88
Lua scripting
 

Changing a random player's class.

Hi! Help needed! For my fretta based gamemode, I need to select a random player from team 2 every round and set his/her class to VIP. This is how I've been trying to do it but the problem is that when the round starts no-one's class is changed. ...

13 Hours Ago
by Nikola1 Go to last post
1 130
games
 

Weapon: Tried to use a nil entity!

Hello, I'm trying to use LocalPlayer():Weapon(), but It's not working, here's my code: tipo = LocalPlayer():GetWeapon(table_ID) // table_ID is a table that got strings (weapon_smg1, weapon_ar2) and GetIndex is a function that returns where the...

14 Hours Ago
by Nicksf13 Go to last post
5 160
Help
 

solved Is there a way to set prop orientation on Prop Hunt..

Is there a way to set prop orientation on Prop Hunt.. I mean is there a functions or tips on how I can make that each RMB click the prop rotates to the angle the player camera is facing?

15 Hours Ago
by VashBaldeus Go to last post
4 102
Help
 

Chair Entity Problem

Hello, I've tried making some simple chair entities but I have seem to run into a weird problem. It seems that the angles of the actual prop_vehicle_prisoner_pod depend on which way I am facing when entering the chair. (Changing the angles in the code...

kpjVideo 1 reading
16 Hours Ago
by kpjVideo Go to last post
1 104
Help
 

solved Stop particles for players

For some reason, players can still see the particles from this particle hat: game.AddParticles("particles/item_fx.pcf") ITEM.Name = 'Harvest Moon' ITEM.Price = 40000 ITEM.Attachment = 'eyes' ITEM.Material = "vgui/particlepics/Harvest_Moon.jpg"...

16 Hours Ago
by Baron von Hax Go to last post
6 171
Lua scripting
 

Having trouble with timer (I think)

Okay so I am coding a custom addon (just to learn Lua) and I seem to be getting this script error.. It basically says there is an issue in line 22 in my shared.lua, here is the code GM.Name = "Test GM" GM.Author = "Chris Tucker" GM.Email = "N/A"...

16 Hours Ago
by Acecool Go to last post
1 81
Lua scripting
 

NPC

So im making my own NPC On my "SeriousRP Server" And its ment to stand inside nexus and you hit e whilst looking at it and a menu pops up ect, now im not asking you guys to make me it but, i want to know were i can find a toturial for such task scince i...

16 Hours Ago
by Acecool Go to last post
6 192
Help
 

solved Give ammo for CS:S weapons

Hi guys, I'm making a dynamic loadout system for my gamemode, but I ran into some problems. I'd like to give the player a custom ammo amount, but ply:GiveAmmo() only accepts weird strings like "Pistol" and not "weapon_pistol". So if I want to give ammo...

18 Hours Ago
by Seanrinox Go to last post
2 56
Release
 
Winner x 49

Next Update ( 2 3 4 5 .. 95 96 97 98 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...

_Kilburn 1 reading
21 Hours Ago
by Blasteh Go to last post
3,901 216,412