Title / Thread Starter Last Post ByReverse Sort Order Replies Views
Request
 

Searching for Programmer for a community server [PERP]

hello, i am looking for a programmer to be committed to the server, to be in contact with the host of the server and the admins. the mode is PERP. *16+ years old *stay in contact with the host all the time. *update the server weekly (bugs,...

4 Weeks Ago
by mijyuoon Go to last post
10 279
Help
 

solved Are there any huds with these requirements?

I'm currently trying to expand my knowledge in LUA and I am best taught by reading and understanding the code. At the moment I'm troubled with how to make a custom Weapon selection system, aswell as a hud pickup draw. So that leaves me at my question,...

4 Weeks Ago
by TheClassified Go to last post
5 174
Question
 

solved timestring to time

Hi all, I'm searching for a method to convert a timestring like "1d2m" (1 day 2 months) into time like CurTime() + timefromstring("1d2m"). How can I do this? Thanks! Darrell

4 Weeks Ago
by Darrell Go to last post
6 184
Question
 

DarkRP Server Issue

On my live server I have an issue where players can see the info above other player's heads from miles away and through the map. Is there anyway to fix this? It wasn't always like that, and if I edited a folder I can't find which one it was.

4 Weeks Ago
by RsmCrazyGamer Go to last post
2 119
Lua
 

Change of command

How can I make a change teams? I tried this: function ChangeMyTeam( ply, cmd, args ) local oldTeam = ply:Team() ply:SetTeam("Spy") GAMEMODE:PlayerOnChangeTeam(ply, "Spy", oldTeam) end concommand.Add( "set_team", ChangeMyTeam )

4 Weeks Ago
by VortexZ Go to last post
5 135
Lua
 

solved TTT Give health to T?

Okay so i am messing around with the addon "powerrounds", what I'm trying to do is add a Juggernaut round. The only thing I don't know is how to code for health? Basically i just want a bit of code, (or a page that tells me) to change hp, if you could...

4 Weeks Ago
by Cynicaldead Go to last post
2 94
Help
 

Developing a gamemode!

Hello facepunch, I am making a gamemode and I am stuck on probably the hardest part. It is the idea of the gamemode. Can anyone recommend me something. I want to make it something that everyone can enjoy... I'll be working really hard on this one :) ...

4 Weeks Ago
by VortexZ Go to last post
10 361
Lua
 

Why won't my teams spawn in the correct spots? This thread has images

Hello. In my gamemode I've kinda abandoned for a while just because of this one error, my teams I created don't spawn in the info_player_counterterrorist or info_player_terrorist spots they're assigned to spawn in. I need help... I have no idea what I...

4 Weeks Ago
by A Fghtr Pilot Go to last post
8 171
Help
 

Need help with LUA random loop

Hello FP, I'm using this example from the gmod wiki: === websites = { "facepunch.com", "google.com", "steampowered.com" } print( "I think the best website ever is " .. websites .. "." ) ===

4 Weeks Ago
by AK to Spray Go to last post
6 306
Help
 

Removing entity from map in deathrun This thread has images

Hi all, I have a bugged entity on the deathrun map crash_medievil. I want to remove the entity but for some reason this is not going well... hook.Add("ShowTeam", "enityid", function( ply, ent ) print( ply:GetEyeTrace().Entity ) ...

4 Weeks Ago
by hipy Go to last post
7 205
Help
 

FastDL - 1 Directory for multiple servers?

Hey! I have servers and for each one i have own fastdl directory. Can i just make 1 fastdl directory and put everything there? Or will it add all files? Or the resource.AddFiles only?

4 Weeks Ago
by dingusnin Go to last post
2 145
Help
 

Q Menu Tabs And Tools

Hey, I am making darkrp and i would like to restrict some stuff in Tool and Prop menu. How can i remove tabs, tools and props?

4 Weeks Ago
by XRAYBlake Go to last post
1 83
Help
 

$texturegroup skinfamilies Question This thread has images

Hello, I have a model with few Skins: (only 2 skins for now, but I make soon more). My Question is, can I change the names "Skin 0", "Skin 1" and so on? If yes, how?

4 Weeks Ago
by Shaklin Go to last post
2 118
Lua
 

DModelPanel set animation for model This thread has images

how would i go about setting the model to use an animation such as taunt_cheer in a panel? i didn't make this btw self.ViewPlayerModel = vgui.Create( "DModelPanel" ) self.ViewPlayerModel:SetModel( LocalPlayer():GetModel() )...

4 Weeks Ago
by Busan1 Go to last post
3 160
Help
 

solved Infinite Sound Loop

I'm trying to figure out how to make a basic entity infinitely loop sound, but in a way suited for long term and multiplayer. CreateSound needs to be redone when a new player joins apparently. Could someone point me in the right direction? ...

4 Weeks Ago
by Robotboy655 Go to last post
4 233
Help
 

GMOD MySQL Error This thread has images

So i've recently stated using GForum and Sourcebans on my servers they work great! But theres a problem, About 15 minutes after you start up the server this happens: Sourcebans Error: The server has lost connection to the database. Retrying... ...

4 Weeks Ago
by Acecool Go to last post
9 438
Help
 

HUD Drawing doesn't work

Hey! I have problem with lua. I've spent 2 hours trying to find solution for this problem. //START function surface.PrecacheArc(cx,cy,radius,thickness,startang,endang,roughness,bClockwise) local triarc = {}

4 Weeks Ago
by Acecool Go to last post
7 204
Lua
 

Creating a suppreson effect This thread has images

I'm trying to recreate the suppression effect seen in the game "Insurgency 2". However, I'm a little confused as to how to get this to work. I also need to know which gamemode file to put this in(I'm guessing cl_init?. NOTE: I'm only really focusing on...

4 Weeks Ago
by Hoffa1337 Go to last post
1 170
Help
 

M9k World Models with DarkRP

I installed M9k weapons for my DarkRP server, and they work fine. However, when I spawn them in as a gun dealer, they drop on the ground as an AK model, or whatever their respective "class" of weapons is (Snipers will appear as the SG550 sniper, ect.)....

4 Weeks Ago
by code_gs Go to last post
5 254
Question
 

Fighting animation question

I have been interested in making a fighting game in gmod but I can't think of how to do animations on characters correctly. This has prevented from even trying because every time I try to make the character do a certain animation or something it just...

4 Weeks Ago
by bran92don Go to last post
2 109
Lua
 

Extra Credits & Extra Prop Push For Specific Ranks?

So I own a TTT server & I wanted to add a little bit more for donators. (Instead of skins) & I found this code from a old post but it didn't seem to work for the credits. As I am not too good with lua Im simply asking for help to make this work. If you...

4 Weeks Ago
by D3M0NiiCx Go to last post
18 558
Lua
 
Winner x 38

Coderhire Addon Cloning Thread ( 2 3 4 5 .. 12 13 14 15 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 https://openclipart.org/people/dear_theophilus/computers.svg The...

4 Weeks Ago
by Exho Go to last post
560 33,973
Help
 

Gmod physics issue 2.0 This thread has images

Sorry for the double post but this is kind of a different issue. So I can still walk through props as seen below, and I had the NFO remount my css and it is still broken. It is only certain STILL props though such as, the brown couches and chairs, some...

4 Weeks Ago
by Phoenixf129 Go to last post
3 214
Help
 

TTT - How to kill all innocent players in a map?

Hello! In my TTT map I've added a traitor objective that causes an explosion that is supposed to kill all of the innocent players if the traitors succeed. Therefore, I need a way to kill all of the innocent players in the map at once. Is this possible...

4 Weeks Ago
by Matt2468rv Go to last post
5 224
Help
 

i cant seemed to wrap my head around this?? ( 2 Last ) This thread has images

Okay so im trying to make a quick detection between two entity's. The two entitys that I have is a melter and scrap. Im wondering how will I be able to detect when ever the scrap touchs the melter entity. Im also wondering for when the scrap touches the...

4 Weeks Ago
by James xX Go to last post
48 1,046
Lua
 

What is the entity name of the SMG grenade?

I'm making a SWEP that's secondary fire is to fire SMG grenades. I looked on gmod wiki pages and even all the HL2 entities put on a list, but I can't find it. The only thing I could find was the ammunition's name, but that doesn't really help.

4 Weeks Ago
by A Fghtr Pilot Go to last post
2 131
Help
 

Draw png

Is it possible to draw a PNG directly to the screen or do I have to convert the format to a specific one?

4 Weeks Ago
by 0V3RR1D3 Go to last post
2 129
Help
 

Add custome sound and play it

How do I add a custom sound to the server and what is the directory i play it at?

4 Weeks Ago
by 0V3RR1D3 Go to last post
3 161
Help
 

entities and such from the TTT buy menus

I have been working more with TTT recently and while I have found the tutorial on how to set up weapons with the buy menus, I have not found anything as far as setting up entities (such as health station and what not) or menu items that just run a...

4 Weeks Ago
by YourStalker Go to last post
3 132
Question
 

How do i give people perma entities on poinshop

How do i give people entities on poinshop, when they have the item equiped (not 1 time use) I plan putting http://steamcommunity.com/sharedfiles/filedetails/discussions/320418292 ( angel wings ) as a permanent poitshop perk XD but you know.... im...

4 Weeks Ago
by Thalexs Go to last post
8 166
Question
 

solved How to use New Network Vars?

Just need a little help understanding the new network vars, I was using the old ones for a while and now have to change all mine and I'm not having much luck. In the old version of the mod there were two network vars for you "On hand money" and your...

4 Weeks Ago
by Hoodiecraft Go to last post
3 117
Help
 

solved /Affinity Command line Question

So I was told to use /affinity to spread out servers on multiple cores. My question is what numbers do I use for each cores? I read some person did 2 for 1st core, then 4 for 2nd core, and it was really confusing. If I am using a 3 core VPS on NFO servers...

4 Weeks Ago
by soloisticorc2 Go to last post
8 168
Help
 

Gmod physics issue This thread has images

So I am having an issue with my gmod physics on certain objects. I can go into certain CSS objects such as the couch and some shelves and cars. I have the css content mounted properly as you can see in the below documents. I just need help trying to...

4 Weeks Ago
by -- Nate -- Go to last post
4 103
Lua
 

Gamemode competition?

So there was talk a week or so ago about how most popular gamemodes came to be from competitions. The most obvious being TTT but also Prop Hunt and Murder. I think it would be great if we could have a new gamemode competition to get some creative ideas...

4 Weeks Ago
by James xX Go to last post
2 125
Help
 

Only One Pistol Fires

Hi there, working on a dual pistol swep but only one of the weapons seems to want to fire (the left one). If anyone could take a look at this that'd be a great help, thanks. -- Variables that are used on both client and server SWEP.Gun =...

4 Weeks Ago
by Hoffa1337 Go to last post
1 145
Help
 

solved Mysterious error

Hey I get a error i dont know what is causing it. So can you guys help me? Error: addons/demotesystem/lua/autorun/init.lua:40: bad key to string index (number expected, got string) 1. error - :-1 2. __index -...

4 Weeks Ago
by [CLRP]extra Go to last post
9 214
Steam
 
Dumb x 31

Coder for hire!

Hello, I am a a well experienced LUA coder. I am going to code for anyone for $30/hour! I know how to code dark RP jobs, and more. I will also setup your server completely, but only if you are paying for the server. If you are interested add me on steam....

4 Weeks Ago
by [CLRP]extra Go to last post
17 630
Help
 

What is the best way to learn Gmod lua?

Hello, I have been playing Garry's Mod for a couple of years now, and I would like to learn to code! I already know some basic things when it comes to gLua, but I want to know how to code more advanced scripts! So, I was wondering, what's the best...

4 Weeks Ago
by [CLRP]extra Go to last post
28 836
Help
 

Juggernaut Model Problem This thread has images

Hi Facepunch. I' m using the Juggernaut model from J.I Defense solution but i have a problem using it.... I dont know if any one could help me fixing it , but it would be realy kind Its not the first time i have this problem with gmod...

4 Weeks Ago
by TFA Go to last post
1 121
Humor
 

Problem with position and angle. This thread has images

Hello Facepunch So i' ve download the rape swep on steam. And i would like to custom it. The problem is that i dont know how to get the position and the angle. I' m sure you dont understand a fuck about my problem so here is the code ^^ : ...

4 Weeks Ago
by James xX Go to last post
7 177
Help
 

Effect on death

Hello, When you die in gmod your screen is red. Is there a way to remove that or paint over it becuase when I die everything painted is tinted red, I dont want that xD

4 Weeks Ago
by 0V3RR1D3 Go to last post
2 120
Lua
 

Spawning brushes with LUA

How can I spawn a custom brush that I have created and be able to set the texture, height, width and depth.

4 Weeks Ago
by AnonTakesOver Go to last post
8 1,155
Help
 

solved Assigning Servers To Single Cores.

So I have never assigned a server to 1 core before on a VPS. This honestly explains a lot of old server issues running 28+ players with no major errors/DDoS, yet lagging a lot/crashing with low prop limits/ no wire etc. So my question is for a VPS using...

4 Weeks Ago
by soloisticorc2 Go to last post
2 187
Map
 

If I don't have CSS, will I not be able to use info_player_terrorist spawns and info_player_counterterrorist spawns?

(Sorry, I had no idea which section to put this in, it involves both mapping and development, heh) So, I've set the specific team spawns in a gamemode I'm making to info_player_terrorist and info_player_counterterrorist; the spawn entities used in hammer...

4 Weeks Ago
by Robotboy655 Go to last post
6 217
Help
 

Random Script Error Deathrun This thread has images

Hello I was playing with some other players on my Deathrun server and randomly ran into some script errors I have never seen before here is the error gamemodes/deathrun/gamemode/cl_init.lua:76: attempt to call method 'GetRoundTime' (a nil value) 1....

4 Weeks Ago
by smithy285 Go to last post
16 181
Help
 

solved VPS: Will a 3 core work for my needs?

I am returning to running gmod servers again. I am looking to run a casual 32 slot DarkRP Server, maybe 2 of them along with 1-2 Murder Servers and a donation website. Will a 3 core VPS meet good anti-lag servers? I read it will be on the low end for...

4 Weeks Ago
by soloisticorc2 Go to last post
4 199
Help
 

DarkRP Custom Mayor Entity Problem

I'm having a complete mental collapse and just generally cannot think of an answer to this. I'm trying to have a buyable F4 menu entity for the mayor only, but instead of paying for it via his own wallet, I have an economy system and I want it to buy it...

4 Weeks Ago
by Love Machine Go to last post
7 236
Help
 

Particle Effect crashing GMod

This is a recent issue that keeps crashing hl2.exe. Whenever I spawn one of my effects (specific ones not all), it mostly crashes the game when the player directly looks at it. Video:...

4 Weeks Ago
by thegrb93 Go to last post
2 248
Lua
 

solved Spawned rocket projectiles don't damage anything

-snip- Seems the problem was that I used the wrong value, after taking a look at the source code. Oops.

4 Weeks Ago
by CheezMan Go to last post
0 107
Help
 

solved forbid to attack

Hi, FacePunch. How to forbid to attack to players within 5 seconds after a spawn?

4 Weeks Ago
by godred2 Go to last post
14 301
Help
 

Multiple strings

Hey I want to send two strings from a client file to a server file, but how do i send them both. Is there a way to name them so i know its the first string and not the other string? We are talking about: net.WriteString(String)

4 Weeks Ago
by Luni Go to last post
1 107
Science
 

Stuff I've made with GMod

Greetings. I basically wanna let world know about the things I've been working on since I started playing this game. Maybe I could post this on 'what are you working on' thread, but I believe my stuff is enough relevant to deserve it's own one. So I've...

4 Weeks Ago
by culocacoman Go to last post
2 243
Lua
 

Weird Bullet Spread when using a timer

When shooting with my SWEP when self.Burst is true the bullet spread gets weird and the bullets always go to the bottom right corner of the crosshair, but when self.Burst is off it works. By doing a little testing i found out that calling...

4 Weeks Ago
by MrXonte Go to last post
0 95
Lua
 

solved "attempt to call method (a nil value)"

I've been trying to fix up Zmod for a tiny bit. But after launching it i get the error "attempt to call method (a nil value)". Another guy tried doing the same thing i did but failed after awhile. But he was sent this. The problem is you need to check...

4 Weeks Ago
by Robotboy655 Go to last post
3 184
Help
 

Auto Download Workshop

Is there a way to make it so workshop addons I'm subscribed to don't automatically download in garrys mod on this computer?

4 Weeks Ago
by code_gs Go to last post
1 158
Games
 

solved Sprint on spectator mod bug?

Hello guys. I'm having some troubles on spectator mod. For some reason. When I press shift on spectator mod. My screen start to "shake" and my speed slows down. Someone have any idea of what this could be?

4 Weeks Ago
by Nicksf13 Go to last post
2 145
Lua
 

How would I use table.Random(or math.random) to automatically set a player's team upon their first spawn? This thread has images

Hello. I'm making a gamemode that is team-based. I have everything but one feature ready; selecting the player's team upon their first spawn. I've never really been that familiar with table.Random and math.random, so I need some help getting this to work....

4 Weeks Ago
by James xX Go to last post
9 210
Lua
 

What is this error even saying?

Hello... this is kinda embarrassing to ask, but I ran into a strange error: gamemodes/combinestrikesource/gamemode/shared.lua:2: ')' expected near 'true' 1. unknown - gamemodes/combinestrikesource/gamemode/shared.lua:0 This is line 2 of...

4 Weeks Ago
by A Fghtr Pilot Go to last post
3 151
Lua
 

Why isn't this SWEP code working?

Hello, I'm making a SWEP. It works fine, but there is one problem I need to fix. The SWEP is a scoped AK 47, and I tried to add the scope via Clavus's SWEP construction kit. However, the code I used for adding the scope to the viewmodel isn't working. I...

4 Weeks Ago
by A Fghtr Pilot Go to last post
2 211
Lua
 

Dropship function

Hello, I want to be able to "spawn" dropship with striders, when I use the function of the dropship it will spawn dropship above me (for no bugs with the map) Or in custom spawn point. I have this function but its dont put the strider on the ground. ...

4 Weeks Ago
by The Commander Go to last post
2 246
Help
 

Spawn tdm cars in lua This thread has images

Hey I found out to spawn cars, but how do i spawn a tdm emergency car. This doesnt work I know how to spawn the regular jeep. local car = ents.Create("charger12poltdm") car:SetModel("models/tdmcars/emergency/dod_charger12.mdl") ...

4 Weeks Ago
by Tomelyr Go to last post
9 222
Help
 

FastDL not working.. This thread has images

I have 3 files in my lua/autorun/server , they are all resource.AddFiles, what I don't understand is that when i'm on my server, all models are purple / black. I have them added to my webhost and game server.. Here is a file, tell me what could be...

4 Weeks Ago
by code_gs Go to last post
26 379
Lua
 

solved Final Killcam like CoD for TTT

Hello, so i have been thinking for quite a while now. There is an addon for TTT that features not just a rdm manager but also a death-scene replay where the mod/admin can take a look at what happened. The addon i am talking about is the TTT Damage...

4 Weeks Ago
by Exho Go to last post
4 230
Help
 

How do i switch server back to "Live" branch ?

I accidently updated my server with app_update 4020 -beta dev validate How do i switch back to "Live" branch ... app_update 4020 validate is not working :/ 19th April 2015 Fixed. Just downloaded new server and copied necessary files...

4 Weeks Ago
by mcd1992 Go to last post
2 160
Help
 

End Round music in Deathrun

So I added this to a file in lua/autorun/server called endround.lua and put this lua code in hook.Add( "OnRoundSet", "Round Set Example", function( round, winner ) if round == ROUND_ENDING then if winner == TEAM_RUNNER then...

4 Weeks Ago
by James xX Go to last post
3 143
Help
 

solved Cl_init.lua not working

Hey Everytime i put some code in the cl_init.lua, the entity doenst want to list in the entities tab. init.lua AddCSLuaFile( "shared.lua" ) AddCSLuaFile( "cl_init.lua" ) include( "shared.lua" ) util.AddNetworkString("OpenPoliceMenu") ...

19th April 2015
by TheEvilDirect Go to last post
3 188
Help
 

unstuck

Hey, i'm looking for an unstuck code for DarkRP because all those i tried are not working at all. Appreciated.

19th April 2015
by PwndKilled Go to last post
5 186
Lua
 

solved Simple serverside bunnyhop

Hello, just need help finding a server side bunnyhop script i would code this but for some reason im not functioning properly today (drunk). All i bassically need is when the player hits the floor and hes holding space bar then it just repeats. I've tried...

19th April 2015
by CertifiedCode Go to last post
6 216
Lua
 

Mapping a Map with Lua

Wizard coders, I need yall's help. I'm making a gamemode in which objects will be spawned in random parts of the map for players to find. I'm trying to make a code solution that will work on most every map. I started with this: choose a random...

19th April 2015
by Acecool Go to last post
7 415
Stupid
 

Best way for networking values within an entity?

I have this weird thing in the back of my head every time I mess with networking variables, and I want to get it cleared up before I drive myself nuts. I remember reading somewhere that constantly networking variables is poor practice, and you should only...

19th April 2015
by Acecool Go to last post
5 276
Help
 

Trying to revive sandbox chatsounds, need help with old code

Chatsounds Errors: addons/chatsounds/lua/autorun/server/chatsounds.lua:1045: attempt to call global 'ValidEntity' (a nil value) 1. unknown - addons/chatsounds/lua/autorun/server/chatsounds.lua:1045 Timer Failed! If I can get help to fix...

19th April 2015
by APNxRPG24 Go to last post
5 230
Release
 

Untitled - The gamemode by the community, for the community ( 2 3 4 Last ) This thread has images

Shiiiittt, cant change the title! The Story About 4-5 months ago, I was creating a gamemode called GPB: Reloaded, a play on words for the popular steam game, APB: Reloaded. I got started on development, posted it in WAYWO etc. About 3 days after it...

19th April 2015
by Exploderguy Go to last post
125 4,143
Help
 

Derma Panel Ammo Question

Hello I would like to make a derma panel that will have the function to give me ammo when I click the button. Here is the code, and I am just confused as to what I am missing. Thanks function ammohud() ammohud = vgui.Create( "DFrame" )

19th April 2015
by Busan1 Go to last post
10 305
Help
 

solved SetSubMaterial shirts? This thread has images

Hey! Where can i get materials for SetSubMaterial so i could have shirts for players? Ty.

18th April 2015
by Tomelyr Go to last post
3 218
Lua
 

solved Making some models gravgunable This thread has images

Hello, i have the problem that when i create an entity with the model lets say of a potato (models/props_phx/misc/potato.mdl) then i cant pick it up with the gravity gun. here is the init of the entity function ENT:Initialize()...

18th April 2015
by BigBrainAFK Go to last post
10 185
Help
 

Automatic conversion of HL2 .txt scripts to LUA sound.Add files

So, I have a bunch of Half Life 2 .txt sound scripts (Download at **removed because I might not be able to post the soundscripts for whatever legal reason** ) and I need to convert them to something gmod can run. You're probably wondering why.. well,...

18th April 2015
by MarkJones Go to last post
8 225
Help
 

solved Reduce Fall-Damage for grups This thread has images

Hey, i wanna reduce fall-damage for specific groups in my TTT server. hook.Add("TTTBeginRound", "groupFunction", function() for k, v in pairs(player.getAll()) do if v:IsUserGroup("donator") then

18th April 2015
by _TheJok3r_ Go to last post
2 108
Help
 

solved attempt to call method

Hi, FacePunch. Again I ask at you for help. I get the error, "attempt to call method 'OnSell' (a nil value). ITEM.Name = 'test+' ITEM.Price = 3 ITEM.Model = 'models/props_junk/garbage_glassbottle003a.mdl' ITEM.NoPreview = true

18th April 2015
by meharryp Go to last post
9 209
Lua
 

solved Modified DarkRP Gamemode

i modified darkrp to make a new gamemdoe but it created this lua error Unauthed player 1. query - :-1 2. processModules - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:201 3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:158 4....

18th April 2015
by TpsTheHunter Go to last post
6 214
Games
 

Need Help With Pointshop Weapons ( They Stay In Spec Mode )

I have some Crowbar Skins in my Pointshop, but they stay equiped even when players are in spec mode and they can hurt people being in spec mode. żIs there a way to Holster a weapon when a player is Spectating / dead and equip it when he spawn? ...

18th April 2015
by jonitah112 Go to last post
7 184