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

Model from mesh from OBJ problem, lighting?

Hello all, im working on loading a model from a obj disguised as a txt and im having strange bugs. If i leave the prop spawned and rejoin the server it is fine and i can spawn as many as i like fine but if i remove all of them it stops working. My code:...

12th June 2016
by rtm516 Go to last post
0 96
Help

Make a entity with props connected to it?

How do I make a entity with another entity/prop welded to it like so: 1. use the ENT:StartTouch function 2. When they touch remove both entities 3. spawn a new entity like a stove but not a ordinary stove instead one with a pot on it or something...

12th June 2016
by 0V3RR1D3 Go to last post
3 112
Help
12th June 2016
by Slowboi Go to last post
5 108
Help

Can't connect to my own server.

Every time I try to join my server, I am greeted with a message that says "client 0 overflowed reliable channel" right after I am kicked. Does anyone know what causes this or have a fix for this? Could it be an addon?

12th June 2016
by ThatDesire Go to last post
6 131
Help

Problems with entities and npc bodies DarkRP

Hello everyone! I'm in the progress of learning scripting by reverse engineering and also by making some stuff myself. At the moment I have a problem where the bought entities of a player don't get removed when they change jobs in DarkRP. Also when I...

12th June 2016
by broden1234 Go to last post
4 107
Help

solved Screen Effects | Help

How do people add screen effects like the drugs mod where your screen is rainbow and like on the weather mod, when it rains water droplets hit your screen?

12th June 2016
by GoldenLeopard Go to last post
12 116
Lua

solved Looping through positions?

So I'm currently trying to create this thingy that is supposed to aim at player 1, kill him and move on to the next target and do the same thingy. The thingy is, it just goes to the last player, without looping through them all. Could anyone please help...

12th June 2016
by SkitZz Go to last post
13 142
Help

Players keep fisting when gun is fired and also hold as fist

Hello I am new to gmod lua programming.I added a fist into the gamemode and it works good. But then most times the players in third person view they shoot their weapons but they fire it by playing the fisting animation.And when idle with the gun the gun...

12th June 2016
by SWGamer Go to last post
0 146
Lua

solved Changing Default Weapon Selection HUD

Now this is more of a "Discussion" or "is possible" thing. Not really a "help" thing. Now the default weapon selection HUD, can you change it? Like, make your own? Now personally I have NEVER seen anyone change this, if possible. Of course, now I feel...

12th June 2016
by Vizik Go to last post
4 109
Lua

DarkRP - Selling doors as groups

I'm trying to learn lua by making a Cops and Robbers gamemode using DarkRP as a base because it has a lot of useful shit, one of which being door ownership. However, the way door ownership works in vanilla DarkRP is fucking stupid, because each door is...

12th June 2016
by Tomelyr Go to last post
1 166
Help

solved DPanel, there isn't the "board".

Hello. Excuse me for any grammatical errors. I used this code: local DPanel = vgui.Create( "DPanel" ) DPanel:SetPos( 10, 30 ) -- Set the position of the panel DPanel:SetSize( 200, 200 ) -- Set the size of the panel

12th June 2016
by Predda Go to last post
4 113
Help

[ERROR] gamemodes/terrortown/gamemode/cl_equip.lua:44: bad argument #1 to 'insert'

Hey Guys! I have this problem on my server but i don't know what to do... In Gmod TTT the trertor shop isn't working... it opens but you cant do anything in it and don't even see the items. I deleted every addon that could have done this but it dosn't...

12th June 2016
by bigdogmat Go to last post
6 244
Help

Help connecting to a server

So it just keeps saying Server is not responding, the server will eventually come back and respond but once i disconnect and rejoin it will do the server is not responding again, Some people can still be able to connect to it and some people cannot, this...

12th June 2016
by Bubbie Go to last post
4 162
Lua

"ArmDupe" Exploit Found in TF2 Hats Pack

Herro, I found some files inside this addon: http://steamcommunity.com/sharedfiles/filedetails/?id=418669236 (TF2 Hats for Pointshop) I'm guessing this guy also packaged it inside his Pointshop re-upload. Files: -> lua --> autorun --->...

12th June 2016
by Kevlon Go to last post
5 346
Question

Disable A.I. on a single NPC

Is this possible? If so, how? 11th June 2016 Or at least make it not able to do anything (move, shoot, make noise, etc.)

12th June 2016
by wh1t3rabbit Go to last post
2 150
Help

Font Problem

So I looked online for a font and I found a cool one so I put it in and coded the stuff to make it work and well it looks pixelated and looks like shit.... So i got another one and its the same thing, different font just looks shitty. I want to know how...

12th June 2016
by MPan1 Go to last post
6 146
Help

F4 Menu Error

I've tried many various types of things to try to fix this issue, from fresh install, to different types of F4 Menus but nothing works, even as well in the disabled defaults I have the F4 Menu disabled. This is the error I receive. ...

12th June 2016
by Cub Go to last post
1 201
Help

solved Toggle command

I'm trying to make a toggle command to toggle a function where if you are holding down your attack key, it spams mouse one. I'm getting no errors, here is my code: local attack = false local function m2_toggle() m2_toggle = !m2_toggle if...

12th June 2016
by danker pepers Go to last post
6 160
Help

Trying to use gmpu and it gives me [Not allowed by whitelist]

Just like the title. I am using GMPU and when i hit Execute it goes through its thing and give me this error. Here is the whole thing. Logging Initiallized. Retreving list of Addons. Retrieval Finished! Image for icon selected. Loading and...

11th June 2016
by [Xist] Paul Go to last post
6 210
Lua

Pointshop - Team restriction problems (lua codding)

Hello. I am working on a new stalker server for Garry's mod. I am having a problem with restricting access on weapon for specific team. There are 2 teams. Humans and Stalker. I don't want stalker to or see, or buy this weapon. I want to restrict access...

11th June 2016
by blacky2131 Go to last post
4 148
Lua

DARKRP PlayerDeath problems

Hello everyone, I configure a solution on a job that allows setmoney a robber who was killed by police. problem: if the person disconnects and reconnects it recovers his stolen money. How to do ?

11th June 2016
by jeje031 Go to last post
0 114
Lua

Adjusting charban - NutScript

-- Prevents the use of this character permanently or for a certain amount of time. function CHAR:ban(time) time = tonumber(time) if (time) then -- If time is provided, adjust it so it becomes the un-ban time. time = os.time() +...

11th June 2016
by Jasper Morgue Go to last post
12 576
Help

solved Lua Problem

I am making a Drug Script and I use the ENT:Touch() funtion and I use a if statement to see if its a certain entity and if so it will delete itself and the ent it touched then spawn a new one, when it spawns a new one it spawns 3 or 2 instead of 1 like I...

11th June 2016
by RonanZer0 Go to last post
1 117
Stupid

solved What do require, module, and package.seeall do?

I get module a little bit, but why wouldn't you just make a global table? And is require like include but for modules? I have absolutely no clue what package.seeall does, the wiki documentation is too smart for me.

11th June 2016
by SirFrancisB Go to last post
2 116
Help

Editing the Spawn Menu

Been trying to find away on how to remove things from the spawn menu but I'm coming up empty handed. How could I remove things like the tabs and tools that I don't want players using on my server? Any help would be much appreciated.

11th June 2016
by Triage Go to last post
3 151
Science

Antlion/Bugbait Problems

Setting players to be friendly to antlions, despite me setting them friendly to one team and hostile towards the other every think, they are still friendly towards the team I set them hostile to. Why and how can I fix it? Also, the antlion AI is very,...

11th June 2016
by RonanZer0 Go to last post
5 119
Help

solved (EMERGENCY) - How to PROPERLY install TDM cars in my server ?

Hello, I am currently developping my Garry's Mod DarkRP server, I tried to download TDM cars with SVN (8-9 GB) on my server but it takes A LOT of time, so when I go to sleep (or whatever), I have to turn off my computer so I have to stop my transfer (I...

11th June 2016
by iTechGaming Go to last post
9 217
Help

Rich textbox clickable text size

Hello All, I have a problem it is that if i use clickable text on a rich text box it ignores the internal font size. Example (cant get to my code cause im not on my pc at the moment) -- Create a window frame TextFrame = vgui.Create( "DFrame" )...

11th June 2016
by rtm516 Go to last post
1 147
Lua

solved Doing a chatprint,Cant get it to work.

Iam trying to make a ChatPrint,But I cant get it to work This is what ive done: function timerprint() ChatPrint("Test") end timer.Create("Advice1", 5, 0, timerprint)

11th June 2016
by laithqakeesh Go to last post
6 207
Lua

solved Exclude caller from player.GetAll?

Title says it all. How would i go about doing this? I basically have this chat command that uses player.GetAll to find all players on the server and then sends them a message. How would i exclude myself from this? Thanks in advance.

11th June 2016
by Netheous Go to last post
2 138
Lua

Death Animation And Then Ragdoll

Ive thought that it was always cool in games like call of duty modern warfare that when you died it played an animation sometimes and THEN there was a ragdoll, I was wondering if ths was possible for Garrys Mod, Or Half Life 2, OR ANY source game for that...

11th June 2016
by MPan1 Go to last post
37 6,300
Help

solved Vertical text?

If I wanted to draw some vertical text in a HUD, how would I make the text do that?

11th June 2016
by MPan1 Go to last post
8 149
Help

Get player entity given steam name

I am trying to get a player entity given their steam name. This is what I have already tried: --Usage: !admin username if (SERVER) then print("Running my mod man, cool beans!") hook.Add("PlayerSay", "MakeAdmin", function (player, text,...

11th June 2016
by Nak Go to last post
4 223
Help

Make props no collide other props

Just wondering if there's any way to make props not collide with each other, while still colliding with players and the world? Thanks.

11th June 2016
by SirFrancisB Go to last post
1 106
Help

solved Linux Crontab + Internet

First of all i have no idea where to put this so im putting this thread here Hey guys i Was recently Setting up a Linux gmod server but Crontab is apparently not working Heres my crontab in crontab -e @reboot...

11th June 2016
by Zortex Go to last post
0 107
Help

solved Need help with playing multiple view model animations

A view model that i'm trying to port has it's reload animations split into three parts. I would like them to play one after another, so far I have come up with this code but all three animations play way too fast so the animations get cut off. Is there...

11th June 2016
by SirFrancisB Go to last post
2 106
Computers

solved "GM:PlayerDeath" causes "hl2.exe has stopped working" ???

function GM:PlayerDeath( victim, inflictor, attacker ) if (victim:IsPlayer()) then if (victim:Team() == 1) then victim:Kill(); victim:StripWeapons(); victim:Spectate(OBS_MODE_CHASE);...

11th June 2016
by MPan1 Go to last post
4 147
Poll

Vive VR Developer Interest Poll

What is your interest in working with VR in Garry's Mod? Has anyone tried a Vive and is itching to see its potential in Source? There are 3 main areas for VR development in Gmod: 1. Low Level VR Support (VR Camera, Head and Controller Tracking) ...

11th June 2016
by bitches Go to last post
10 497
Stupid

solved need help with adding loading screen

so i have add this loading screen to my webserver https://github.com/Marcuzz/MetroLoad and i dont know how to add on gmod loading screen so if anyone can help me i will appreciate his help :)

11th June 2016
by SHADOW A Go to last post
4 106
Help

Setting SWEP.COOLDOWN as a ConVar

I'm trying to set the cooldown for a toolgun to a ConVar allowing the player to change the speed it works at in game. I managed to get it to set it as the convar's value, I just can't get it to update the value to the new ConVar when it's entered. How can...

11th June 2016
by Lawlypops Go to last post
10 202
Lua

Model in HUD

I'm having problems with this, I thought I knew, and well I guess I don't. That or it's changed last time I did this (which is probably the case). There is no error, it will not even be placed on the screen period. I've all the way I could try. Even...

11th June 2016
by Zy Go to last post
6 291
Help

Looking for a cheap server host

I recently got kicked off my VPS that was given to me for free by a YouTuber to develop a server to develop for them. He wanted a bunch of weird features and additions to the gamemod, which I paid someone to develop and I disagreed with his ideas and was...

11th June 2016
by kaliii Go to last post
14 606
Help

Help Diagnosing Crash Dumps?

Hello, I was wondering/hoping I could get some insight on the crashes that have been happening alot recently on my server, I've tried to make sense out of the crash dumps I was able to find, but didn't really lead me to anything special. Here's a link...

11th June 2016
by Zy Go to last post
3 150
Help

Create SWEP.VipOnly?

I was wondering if it was possible to create the swep variable: SWEP.VipOnly which restricts the swep to the vip ulx rank, and puts an icon on the swep like SWEP.AdminOnly and say something like "Donate to access"?

11th June 2016
by SirFrancisB Go to last post
2 106
Help

Change font color in the middle of a sentence

It's really annoying having to constantly create a draw.SimpleText every time I want to change the color of the font mid-sentence. Is there some other way of changing the font mid-sentence?

11th June 2016
by McDunkable Go to last post
1 125
Help

How do I make it so your screen blurs when you have low health?

How do I make it so when you have low health, your screen blurs?

10th June 2016
by Triple-X Go to last post
8 247
Lua

solved self:Team() isn't actually checking

if PS.Config.PointsOverTime then timer.Create('PS_PointsOverTime_' .. self:UniqueID(), PS.Config.PointsOverTimeDelay * 60, 0, function() if !IsValid(self) or !self:Team() == TEAM_HUNTERS or !self:Team() == TEAM_PROPS then return end...

10th June 2016
by Triple-X Go to last post
6 209
Help

Fixing up an old, popular gamemode.

I grabbed this old gamemode that was very popular in its time (back in gmod9/10). I want to restore it to play-ability (and change it up a bit) but the code is just awful. I'm not well-sophisticated in Lua, so I decided to come here and see if anyone...

10th June 2016
by Killuah Go to last post
6 190
Lua

Playing Sound

Hello! Anyone knows how can I play the "ambient/alarms/siren.wav" sound for 10 seconds?

10th June 2016
by SirFrancisB Go to last post
9 214
Help

solved PlayerDeath hates net.Broadcast() ?

I have a killstreaks system for my gamemode, which will announce killstreaks in chat after a player gets more than 5. However, when I do reach 6 kills, I seem to have a problem where it messes up a part of the gamemode where a player's information...

10th June 2016
by Bubbie Go to last post
3 141
Help

Derma

Hello its me again :) I was just bored so i tried to make this simple script. But it wont work. I dont get any errors. The problem is that it wont open when im typing the chat command. Placed in...

10th June 2016
by NiandraLades Go to last post
21 465
Help

How do I make a 1 life death system and making team name show on hud

So im making a gamemode where you have one life, and you don't respawn until the end of the round or when one squad has killed the others. Also, how do you get the team name of you team to show on you hud (There are four teams, Spectator, Alpha, Bravo,...

10th June 2016
by MaximLaHaxim Go to last post
3 156
Help

DarkRP Max Entities.

Hey guys, just wondering if there's any way I can adjust maximum purchasable entities based on a variable. EG: max = 1 + ply:GetRank()

10th June 2016
by Tupac Go to last post
3 182
Help

Trying to update SQL but isnt working :(

Hey so im trying to create a version of bwhitelist. Im using sql but i seemed to be running into an issue when trying to update the records in my table (player_info) here it is: function saveSQLTables ( ply ) -- continue from here local staff =...

10th June 2016
by Tupac Go to last post
2 135
Request

Give me basic challenges

Hello everyone. As im trying to improve my Lua Coding, i want to ask you guys to give me some simple challenges that i have to complete. It would be nice if you had a solution of your own posted on hastebin too so when i cant do it i can have a look at...

10th June 2016
by roastchicken Go to last post
9 364
Question

TTT get roles?

So I am trying to make a text appear on the screen, but not on spectators or dead players. What I need to know is how would I hide the text from dead players as well as spectators?

10th June 2016
by Kevlon Go to last post
9 223
Lua

[Help] Rcon only cmd

I'm trying to make a basic admin addon and there are certain commands I want to add in that would require you to have admin access (through the addon I'm making), so is there anyway that I can add a command to make yourself admin, but would require you to...

10th June 2016
by kaliii Go to last post
7 353
Help

Need some help with entities fading when picked up by physgun

Hello! I am a bit new to lua and needed some help on this little project i'm trying. I'm trying to get props to fade only when they are being picked up with the physgun. I currently have them set to fade when they are picked up with the current code: ...

10th June 2016
by SirFrancisB Go to last post
1 106
Help

solved Ok, GetNWInt isnt being reconized?

Why am I getting an error saying that GetNWInt is nil, even though "playerHunger" works everywhere else in the gamemode files foodButton.DoClick = function( ply ) if ply:GetNWInt("playerHunger") >= 100 then ply:SetNWInt("playerHunger", 100) ...

10th June 2016
by PhantomServer Go to last post
5 171
Lua

Lua Animations API beta ( 2 3 4 5 .. 8 9 10 11 Last )

This is a script that allows you to create dynamic animations using only Lua. Two example stances are included. It is obviously for coders. There is no use for the average gmod user. Use Entity(1):SetLuaAnimation("staffholdspell") or...

JetBoom Thread has images 2 people are reading this thread x 2 Useful x 48
10th June 2016
by SirFrancisB Go to last post
422 73,614
Lua
9th June 2016
by SirFrancisB Go to last post
1 140
Help

I have some code errors that I cant fix XD

Ok, so I fixed it, but this code doesn't start the timer function GM:PlayerSpawn(ply) ply:SetGravity(0.9) ply:SetMaxHealth(100) ply:SetRunSpeed(300) ply:SetWalkSpeed(200) ply:Give("weapon_physcannon") ply:Give("gmod_tool")...

9th June 2016
by PhantomServer Go to last post
10 213
Help

Make a pointshop buy run a command?

Hi, i'm currently running a TTT server with TTT Event's installed, is it possible for me to add a buy option in the pointshop that when bought it queues a special event such as the stalker round?

9th June 2016
by Deltatacoman Go to last post
0 112
News

[PSA] Backdoor found in "Prometheus" - baldursgate3 approved ( 2 Last )

The newest version of prometheus is just a copy of the last one, but with a shell included. It isn't even hidden or whitelisted, so props to that. (It is in buystats.php, root of the prometheus folder.) And Marcuz is scriptfodder staff too????

9th June 2016
by Kemerd Go to last post
62 3,239
Lua

[Help] Bullshit error

Please, and I mean please, someone help me fix this bullshit error. "' 1. unknown - addons/tags/lua/autorun/tags.lua:0 Yep. Somehow this code returns that error. usertag = "Default"

9th June 2016
by Kevin Go to last post
5 197
Question

Too many indices for index buffer, crashing everybody on sandbox server

Everybody on my sandbox server keeps crashing from "too many indices for index buffer" Is there anyway to prevent/fix this? Thanks

9th June 2016
by Texas_on_duty Go to last post
0 157
Lua

Custom weapon selection

Making a custom weapon selection menu, how can I use scroll to select the next weapon? I currently have this: function GM:PlayerBindPress(ply, bind, pressed) if not IsValid(ply) then return end if bind == "invnext" and pressed then...

9th June 2016
by The Noodler Go to last post
14 338
C++

gm_navigation - All in one navigation solution ( 2 3 4 5 6 7 Last )

gm_navigation makes navigation tasks a breeze. This all in one navigation module lets you easily create a node table that you can use for finding paths using a A* path finding algorithm. All the other navigation modules currently available were too...

9th June 2016
by Kemerd Go to last post
244 33,427
Help

How to use TTT weapon in other gamemode.

Si, first, hello everybody. I am actually developping a Death Run server on GMOD. Everything worls perfectly, but something is missing. The grenades for secrets and the weapons at the end if the maps. I have a good idea to make those work well : taking...

9th June 2016
by Bubbie Go to last post
1 134
Question

Bone Manipulation Question

Hello, so I'm manipulating bones on a player to make them appear to have their hands up. Everything seems to work fine, but when the player moves, their hands go all over the place. Example: Is there anyway to freeze manipulated bones so they...

9th June 2016
by Derek_SM Go to last post
7 354
Lua

SimpleOutlinedText Error?

This is the code draw.SimpleTextOutlined("CIVIL GAMERS", "cg", 140, ScrH() - 150, Color(255,255,255), TEXT_ALIGN_LEFT,TEXT_ALIGN_LEFT,1, Color(0,0,0,0)) The error is that there is no outline? Any reason why?

9th June 2016
by geferon Go to last post
3 106
Help

Short Button Press

Im using: if (input.IsButtonDown(KEY_F1)) == true then print("Hi) end (I need to use input.IsButtonDown) And my question is:

9th June 2016
by NeatNit Go to last post
1 116
Repeat

is anyone else noticing the steam workshop (IN GMOD)has been failing/broken these past few days?

THe workshop itself is broken, but the display of the workshop in GMOD is. When you click addons you see lists and categories. It seems that these categories that list mods are "frozen", no mod move.s Take for instant the "most recent" tab, when you...

9th June 2016
by Tangyboxhead Go to last post
2 231
Lua

DarkRP Attempt To Call formatNumber

I am getting the error below with this line of code local PlayerMoney = formatNumber(LocalPlayer():getDarkRPVar( "money" )) lua/hud.lua:155: attempt to call global 'formatNumber' (a nil value) 1. v - lua/hud.lua:155 2. unknown -...

9th June 2016
by Renzr Go to last post
4 114
Help

Timer help?

For some reason the timer always fails I don't know really what the problem is. But thanks in advanced for the help. I appreciate it. Here is the timer code. function init() timer.Create ("Lottery", Time, 0, function() Lottery() end) end hook.Add(...

9th June 2016
by NeatNit Go to last post
3 277
Question

solved Scriptfodder Denying This!? ( 2 3 Last )

How the hell do you deny this for being a 5 second script? Jeez and I thought the owners of Scriptfodder actually had a brain. But you accept all this guys scripts yet they all look basically the same xD ...

9th June 2016
by Handsome Matt Go to last post
90 2,032
Help

Server help in GMOD.

I POSTED THIS IN THE DARKRP HELP THREAD AND I SAW THAT THE THREAD BASICALLY HAS NO ONE ON IT SO I POSTED HERE. THIS RELATES TO DARKRP AND I HAVE ULX. Sorry if I sound a little bit new, because I am, but I am having a problem with lua errors on gmod and...

9th June 2016
by Manning Go to last post
10 214
Help

Voice codec

I'm not sure where to post this, but I'll put it here. I was wondering if there was any way to change the voice codec for a gmod server? I have seen sv_voicecodec in gmod command lists, but it is not actually a command.

9th June 2016
by Bo98 Go to last post
6 305
Help

solved RePost ("DTextEntry change's name to a virtual name")

Sorry for this again, but I looked everywhere threads, other websites, everywhere! Could someone give me an example on how to make the DTextEntry element make you change your name to a virtual name? For example, something like this....

9th June 2016
by McDunkable Go to last post
10 270
Help

Entities on fire

Disabling fire on entities sounds like a rather simple thing to do, but turns out it isn't. Significant investigation, trial and error have turned up very few results. Initial Problem: Igniting entities that are stacked on top of eachother (100+)...

9th June 2016
by Pyro-Fire Go to last post
3 244