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

solved Detect if Context menu is open

Hello! I want to make IF not happen if Context menu is open if (!ContextMenuOpen) Is any way I can identify is it open or not? Thanks!

6th April 2015
by r0uge Go to last post
1 104
Release
 

Tutor Tracker This thread has images

What is this For most of you this will seem like a really silly release. Pointless to almost evey single one of you but there are a few people here like myself who teach Lua to people. I Dont know about you guys but I can be doing a lesson with someone...

6th April 2015
by Acecool Go to last post
5 369
Help
 

toggle key for sprint

Hi, I was wondering if someone can tell me how to make a toggle key for sprint in a gamemode im working on. I would still like to use left shift but also have a key for toggle sprint. Thanks!

6th April 2015
by Acecool Go to last post
11 374
Stupid
 

Find entity closest to a point

I am good at many things. Math is not one of them. I have a feeling this requires math. Anyway, I'm attempting to perform an eye trace from the player, then find all entities withinin a radius of the HitPos with findinsphere, and out of all of the...

6th April 2015
by Z0mb1n3 Go to last post
10 267
Lua
 

solved How to use SetActiveWeapon This thread has images

I want something like the code below; self.Owner:SetActiveWeapon("weapon_pistol") But I know that it wouldn't work, because you can't pass a string classname to the function. How would I get this functionality?

6th April 2015
by Maurdekye Go to last post
8 170
Lua
 

solved Simple lua question: Having trouble with an if/then + GetVelocity argument

I'm making my first lua script, where a melon follows you around. Here it is, in its entirety: The issue is at the end: when I add the bolded section, the entire script breaks. Without the bolded part, everything works fine and the melon follows...

6th April 2015
by helix_3 Go to last post
4 129
Lua
 

solved How to properly spawn a prop in sandbox? This thread has images

What are the necessary motions that you need to go through in order to simulate a player spawning a prop from the spawn menu? Here is what I have so far; local model = self.Owner:GetNWString( "spawn_selection" ) -- this is set at another point...

6th April 2015
by Maurdekye Go to last post
18 250
Lua
 

solved Using RenderScreenspaceEffects This thread has images

I am trying to add a motion blur to players that receive net message, but it must disable after ten seconds. I would need to have the post processing function only run the processing if the local player value is 'true', like "LocalPlayer().Blurred =...

6th April 2015
by thegrb93 Go to last post
3 166
Help
 

Reserved slot for admin/superadmin (Reguler Garry admin mod)

Hey How I can do Reserved slot for admin/superadmin (Reguler Garry admin mod) I will set the server slots to 50 but it will show 40 and the 10 slots will be reserved for admins/custom user group.

6th April 2015
by AK to Spray Go to last post
4 232
Question
 

solved How to fix a ban/sound

I'm trying to make it so when someone gets banned on the server it plays a .wav. But i'm having an error I used "siege/jihad.wav" as a test .wav and I got an error. Here's the error- LuaCmd:1: unfinished string near '<eof>' 1. unknown - LuaCmd:0 ...

6th April 2015
by Senip Go to last post
5 212
Help
 

Stop picking up ammo?

Is there a way to stop the player from getting the default ammo you get when you pick up a weapon?

6th April 2015
by thegrb93 Go to last post
9 203
Help
 

Extracting specific information from table, sorta...

I am making my own report system, and I have it so you can successfully report someone, and the admins can see all the reports in a list. What I am stuck on is when you right click, I want to have it so you click, "View full description" then another menu...

6th April 2015
by Bazoogle Go to last post
11 312
Release
 

Derma skin This thread has images

This is not a final release, This is just to see if you guys want this. I know when I started derma (and I know alot of other people still do) I hated trying to make a skin for it. So if you guys want this I will add support for all the elements. You can...

6th April 2015
by .\\Shadow} Go to last post
9 335
Help
 

Make a whole addon admin only?

How would I go about making an addon admin only? Do I have to make each individual prop/entity/weapon admin only?

6th April 2015
by 0V3RR1D3 Go to last post
7 204
Lua
 

solved Rotate Array content 90 degrees This thread has images

Hello! I need solution how to rotate array array = {1,2,3,4,5} rotate it to: array = {5,4,3,2,1} Thanks! Btw, don't mind 90 degrees in title, mistake, it should be 180

6th April 2015
by AtRaxLfD Go to last post
2 112
Question
 

solved Get all Network Vars? This thread has images

Is it possible to fetch possibly every networked var, int, string or bool set on the entity? I'm trying to loop through them all. It would help me greatly. Thanks.

6th April 2015
by [CLRP]extra Go to last post
2 158
Question
 

solved Sounds to bans. This thread has images

So, I want to make it so when I ban someone on my TTT server. It plays a MP3 or a .Wav. Any Idea on how this is done?

5th April 2015
by Senip Go to last post
4 187
Help
 

URL

Hi FacePunch. How to players to open the link google.com in game? What command to use? function Go_Google( ply, text ) if (text == "!google") then -- open.url google.com return "" end

5th April 2015
by MPan1 Go to last post
15 316
Lua
 

Help with scripy im making!

Im learning lua for my server in garrys mod. I got help already from a friend for making a custom spawnmenu. Its a little hard to understand what was going on because he never told me what it all meant. So here it is: //cl_init.lua hook.Add(...

5th April 2015
by MPan1 Go to last post
5 375
Help
 

Check what car the player is in

Hey Everyone How do i check if the player is in example a audi r8? I tried the getvehicle but it just say some random numbers and every car in gmod is a jeep.

5th April 2015
by TheEvilDirect Go to last post
2 135
Question
 

Is it possible to make Chell Portal 1 playermodel?

Is it possible to make Chell Portal 1 playermodel?

5th April 2015
by INKOSSTEL Go to last post
2 134
Request
 

Looking for gmod programmer

Hello everyone, We are looking for a programmer We wanted to create a unique mode we pay money for it if you are serious contact me in private messages (User was banned for this post ("Can't read the rules" - Gurant))

5th April 2015
by thegrb93 Go to last post
6 368
Help
 

Voice chat

Hi. I tried to write a script that only one person could speak in a voice chat. But at me didn't leave. Help me please. What it is necessary to use?

5th April 2015
by godred2 Go to last post
3 123
Help
 

Saving a table to PData

Okay so when I save a multidimensional table to PData it saves with no error, But when I load it and try to set a variable to it I get an error saying table expect, Got string. Here is the code Saving function meta:InventorySave() ...

5th April 2015
by AK to Spray Go to last post
1 123
Map
 

GMOD Publishing Utility Issue NEED HELP This thread has images

so im trying to upload a custom map bsp to workshop with GMOD Publishing Utility. i have done everything and went to execute and it gave me this error Creating temporary addon.json. Creation Errored! null...

5th April 2015
by Robotboy655 Go to last post
3 137
Help
 

Optimizing the shit out of my server

Alright, so I run a DarkRP server, ( I know.. DarkRP ) it seems as though I get some lag when my server reaches above 40 players because of the CPU % going above 100. I'm currently with NFO on one of their game servers ( which i'm sure is loaded with at...

5th April 2015
by Noi Go to last post
14 487
Help
 

Pocket glitch

I have no idea why, but when you pocket and unpocket things like drugs and ammo really fast it spawns in like 400000 to unlimited ammo in one little ammo box. so you can keep grabbing it and grabbing it forever. I have no idea why this is happening. And i...

5th April 2015
by ejcole7 Go to last post
14 436
Help
 

Zombie Survival Pointshop help

Hi there I recently went editing the sh_options file to add in the FA:S weapons and it all was fine when I only edited the worth menu part but after I added the rest of the weapons to the pointshop part now when you press f2 the pointshop wont open but...

5th April 2015
by jaxjaxk Go to last post
1 191
Lua
 

Is it possible to make Nextbots take Physics damage?

If so, how? If not... :( pardon my newbieness

5th April 2015
by MysticLlama Go to last post
0 135
Question
 

How to play sequences backwards?

Have no idea how to play sequences backwards, looked around on wiki's and Google but nothing. Was wondering if anyone here knew how to.

5th April 2015
by Jeezy Go to last post
4 161
Help
 

Changing Fall Damage for a specific class

So I am trying to set one of my classes on my DRP server to have no fall damage. I tried ply:SetFallDamage(0) But I realized that SetFallDamage isn't a valid hook. If I could get some help that would be awesome thanks!

5th April 2015
by Newjorciks Go to last post
1 110
Help
 

Player model models\Humans/Group02/Female_04.mdl

There is any player model for models\Humans/Group02/Female_04.mdl ? I did not find in the files/google ...

5th April 2015
by code_gs Go to last post
7 166
Lua
 

Forcing player to drop or change equipped weapon.

Is there any way to force a player to drop the weapon they are holding, or alternatively forcing them to change the weapon they have equipped?

5th April 2015
by Newjorciks Go to last post
1 103
Lua
 

mute on mysql

Is there an addon mute players in mysql?

4th April 2015
by EdwardRich Go to last post
5 378
Request
 

solved character creation menu This thread has images

Hello, I'm looking for a script to do a character creation menus a little like this: It is possible or very hard to do, is there a tutorial or free script to download it? Thank you. Sorry if my english is bad, i'm french

4th April 2015
by gonzalolog Go to last post
6 144
Help
 

repeat vs pairs vs next vs some odd loop? This thread has images

print("pairs") start = SysTime() for k, v in pairs(_G) do // do nothing end print(SysTime() - start) print("weird loop?") start = SysTime() for i = 1, #_G do

4th April 2015
by MadParakeet Go to last post
12 478
Repeat
 

Weapons sometimes don't play their fire animation

In my SWEPs, if you fire them fast enough, they won't play their fire animation until they play another animation (such as reload, draw, etc). If my memory serves this is a long standing problem and it is triggered by the weapon trying to play the same...

4th April 2015
by Reyjr43 Go to last post
3 143
Help
 

SWEP Bodygroups don't appear in Worldmodel

Hello, I have just mounted my SWEPs to a new base, and attached the bodygroup's to the view model, but the bodygroups on my SWEPs do not appear in the world model, just the view model. Does anyone have any idea how to fix this? Thanks.

4th April 2015
by BoboHobo Go to last post
7 157
Lua
 

Nav File is wrong or something (1)

when my server crashes i get this in console Nav File is wrong or something (1) any ideas ?

4th April 2015
by code_gs Go to last post
2 115
Lua
 

Game Freezes when you press q

When anyone on my server opens the spawn menu (q) for the first time, their game freezes for about a minuet ? any ideas why? VERY frustrating !

4th April 2015
by SteppuFIN Go to last post
3 130
Lua
 

solved TTT Server Issues, Timer stuck at 00:00, Karma not showing on Score Board

I'm helping "fix" a TTT server for my friend. As of now the Timer for the rounds is showing "00:00" all the time. Also Karma refuses to show on the scoreboards (it is enabled). I have only basic knowledge of programming and little to none of lua. I...

4th April 2015
by Cynicaldead Go to last post
4 153
Lua
 

too many edicts

this error comes up in my webconsole when my server crashes which is extremely often. What is it ? how do i fix it ? Not creating entity 'weapon_physcannon' - too many edicts! (8064 current, 8192 max) NULL Ent in GiveNamedItem! Not creating entity...

4th April 2015
by [BT:RP]Benny Go to last post
6 270
Lua
 

Applying a force to player hit by weapon.

When a bullet hits an entity, and that entity is a player, what must one do to apply a force to the player's body in a random direction? I am doing this in the TTT add-on. The force itself is not the issue I am having with this, but rather that I do...

4th April 2015
by Reyjr43 Go to last post
4 202
Help
 

solved TTS (Text-To-Speech) for a TTT Server

Hey all, I've been trying to get a working Text-To-Speech for my TTT server. I've tried the Simple Text to Speech workshop addon: http://steamcommunity.com/sharedfiles/filedetails/?id=381636466&searchtext= And the other one on Facepunch:...

4th April 2015
by r0uge Go to last post
18 430
Help
 

sound.PlayURL only plays for a few seconds.

So I was thinking of trying out this sound stream and I am able to get it to work but after a few seconds it fades out stops playing . I have tried different streams and they all do the same thing, am I missing a loopback or something stupid here? Any...

4th April 2015
by Wyozi Go to last post
9 331
Lua
 

Vortigaunt and stalker weapons

Hey I wondering if someone have created the heal weapon of vortigaunt and laser weapon of stalker so I can use it if I in the model of them.

4th April 2015
by hanm13 Go to last post
1 125
Lua
 

SWEP

How can i make it so when a swep is equiped it opens a website in steam over lay.

4th April 2015
by MPan1 Go to last post
7 281
Help
 

Adding weapons to prop hunt

How do I add weapons to the loadout for hunters?

4th April 2015
by i0wntehworld Go to last post
2 120
Question
 

Display settings gui

Is there any way to set the client video settings/bindings ? Or is there any way to oppen the options gui ?

4th April 2015
by AnonTakesOver Go to last post
25 449
Lua
 

ULX tsay This thread has images

How to make a display of the player's name? ------------------------------ Tsay ------------------------------ function ulx.tsay( calling_ply, message ) ULib.tsay( _, message ) if util.tobool( GetConVarNumber( "ulx_logChat" ) ) then...

4th April 2015
by Sm63 Go to last post
2 181
Help
 

DarkRP F4 Entities are World entities

So this really bugs me that all things bought from the f4 menu are world entities. I understand why some of them need to be. Is there a way to make a singe item from the F4 menu a player entity not a world entity? Like for example, making printers...

4th April 2015
by thecoderwool Go to last post
14 359
PHP
 

It is about a screen loader

Hello, I made a picture but I would like to add the steam ID and the steam Picture in the middle of "Welcome to the FireGamers Community" & "Rules" Thanks again for your help

4th April 2015
by Flamingsword Go to last post
4 239
Question
 

Can Portal 2 gels work in Gmod?

I've been recently thinking about porting the gels into Gmod, maybe to recreate Futbol in Gmod. Apparently the futbol can be spawned in Gmod. Since the Portal gun works would it be impossible to import gels? If not, how should I do it?

3rd April 2015
by TFA Go to last post
8 269
Help
 

solved Copying viewmodel material to RT

Fixed the issues my self... I'll just remove this code.

TFA
3rd April 2015
by TFA Go to last post
0 96
Lua
 

Info from table to DListView

I have a table and the ability to insert info into that table with the proper derma, but I don't know how to get info from from the table to a DListView. I have the list, and when I try to do something like: for k, v in pairs(myowntable)do...

3rd April 2015
by Bazoogle Go to last post
8 298
Lua
 

solved Using a Metatable to store a variable for a specific person

Suppose I have a function like this: local plymeta = FindMetaTable( "Player" ) function plymeta:killStreak(action) if action == "kill" then elseif action == "death" then end

3rd April 2015
by TeamEnternode Go to last post
10 410
Lua
 

solved Auto warrent when wanted

How do you make it so when someone becomes wanted they also get a warrant ?

3rd April 2015
by Lolcats Go to last post
7 289
Lua
 

Net library seems to send wrong numbers

The error (and output of the print): addons/shooter/gamemodes/shooter/gamemode/cl_init.lua:154: bad argument #1 to 'pairs' (table expected, got nil) 1. pairs - :-1 2. func - addons/shooter/gamemodes/shooter/gamemode/cl_init.lua:154 3....

3rd April 2015
by Robotboy655 Go to last post
12 207
Help
 

solved DCollapsibleCategory Changing Sized When Opening and Closing

Every time I open the category for the first time its fine but after that it keeps getting smaller until I can't see it anymore. http://facepunch.com/showthread.php?t=1451160 The images in that thread are the same problem that I am having.

3rd April 2015
by xXBilly525Xx Go to last post
0 74
Request
 

Error by opening Scoreboard

Hello, i got this Error when I open the scoreboard on my server. gamemodes/terrortown/gamemode/vgui/sb_team.lua:76: attempt to index global 'sboard_panel' (a nil value) 1. unknown - gamemodes/terrortown/gamemode/vgui/sb_team.lua:76 Its...

3rd April 2015
by Acecool Go to last post
1 135
Help
 

Player team Bodygroups (Help me please)

Hi, so can someone help me out with a Script that would detect the LOCAL PLAYERS team and if it was eg: Police it would set his model bodygroups. I know some bits and peices about how to do this but could someone help me out? Thanks any help is...

3rd April 2015
by Acecool Go to last post
2 183
Lua
 

Stamina

I'm am using TCB Stamina mod, and I was wondering how can i make it so when a players stamina is 0 and they try to run or jump a message comes up using the DarkRP.notify function?

3rd April 2015
by Acecool Go to last post
5 223
Help
 

SRCDS.exe Has stopped working, again !

So now it's no longer the VC2:EjectPassengers that is crashing, it's much more a problem, due to the fact these are now core functions that crashs the server !! The first crashing function is crashing the server randomly : DFrame:Close() !! I know it's...

3rd April 2015
by Acecool Go to last post
3 170
Help
 

How do I figure out the ITEM.WeaponClass?

Hello, I'm fairly new to coding, but I've grasped a lot so far.. I'm trying to add a Jihad Bomb to my server and I can't seem to get the weapon class correct... How can I figure out or create a weapon class? Thanks!

3rd April 2015
by Acecool Go to last post
2 131
Help
 

Text head

How to make that over the head of the player there was a text? And how to me then to move away him?

3rd April 2015
by Acecool Go to last post
4 228
Help
 

FastDL or WorkshopDL?

Give me your honest opinions, which one is better and why? I really need to choose one, not sure which.

3rd April 2015
by Acecool Go to last post
4 188
Help
 

[Help] help with hud

idk why but this isnt working http://pastebin.com/nzVnDqCw

3rd April 2015
by Ducks1221 Go to last post
6 108
Games
 

GetGlobalInt error - 0 value

Hello guys. I'm having some problems with GetGlobalInt. ClientSide function: local rt = string.ToMinutesSeconds(self:GetRoundTime()) local ttw, _ = surface.GetTextSize( rt ) local tw = hw/2 + 5 draw.WordBox( 4, tw - ttw/2, hy - 45, rt,...

3rd April 2015
by Acecool Go to last post
4 148
Help
 

solved How to set with what players/groups spawn with?

I have looked everywhere for this...I have ULX, URS, etc. I have restricted weapons from certain groups I have created (they are denied from spawning them), but they spawn WITH them. Here are my questions to keep it concise: How do I control what...

3rd April 2015
by conviper30 Go to last post
6 214
Help
 

solved Flipping bonemerged clientside model?

See title. I tried to use mdl:EnableMatrix("RenderMultiply", mat) where mat is the default matrix scaled by -1, but no success. At the moment, I'm trying to skip bonemerging and do something like this but it looks really weird: ...

TFA
3rd April 2015
by TFA Go to last post
0 83
Help
 

Set color doesn't work sort of?!?!

Hey so I am trying to utilize set color by making a player invisible. However, no matter what I change the color to the player is light pink. I get no errors, but maybe one of you guys can point it out. What on Earth am I doing wrong? if (...

3rd April 2015
by Freezebug Go to last post
4 125
Question
 

How hard can you push gmod? I want to expand DarkRP into a fallout-esk mod.

I'm a software engineer so one way or another it will get coded i just don't know how plausible it is. I used to play the hell out of darkrp and after a couple of years finally jumped on gmod13, loving all the workshop fun. How much control do you...

3rd April 2015
by Acecool Go to last post
18 665
Help
 

[BROKEN] SetGlobalInt and GetGlobalInt Broken after the new Garry's mod Update Patch This thread has images

After the new garry's mod patch yesterday, a lot of my addons was not working correctly that are using : GetGlobalInt, and GetNWString.. Does anyone know how to fix them? the : GetGlobalInt and SetGlobalInt/Vector.. Thank you

3rd April 2015
by AnonTakesOver Go to last post
14 711
Help
 

/enablezombie

Is there a way i can change what ranks can do /enablezombie and /maxzombie for the darkrp zombie module without having to make the rank inherit from admin in fadmin? If so please let me know!! Thanks!!

3rd April 2015
by ejcole7 Go to last post
4 203
Help
 

Help with adding Weapon Skins to pointhsop

So im almost done with my murder server last things i wanted to add are knife skins and deagle skins. Almost everything works fine BUT the thing is: ITEM.Name = 'Knife Web' ITEM.Price = 2000 ITEM.Model = 'models/weapons/v_huntweb.mdl'...

3rd April 2015
by code_gs Go to last post
4 136
Request
 

Need Modeler (Garry's Mod) This thread has images

I need a modeler that can create a Garry's mod model, here is a picture of what I need (Not the weapon): I will pay. (It is a Metro 2033/Metro Last Light Fourth Reich heavy)

3rd April 2015
by Mrrappingjake Go to last post
2 180
Help
 

solved Is it possible to convert modules? (gmsv dll)

I'm running a Linux server and in need of some modules that I want to use, I've been wondering if it is possible to convert modules from one OS to another without rewriting?

3rd April 2015
by DannyCore Go to last post
2 126
Help
 

solved DarkRP: Setting Armor based on Jobs

I'm trying to set armor on players based on their jobs, but I'm having issues. I'm not getting any errors, but players simply do not spawn with armor. Look at the police jobs and tell me if my method is correct please? --] TEAM_CITIZEN =...

2nd April 2015
by djmuz Go to last post
1 109
Help
 

Workshop Downloading Not Working..

Alright, so, I am currently on a brand new server hosted by NFOServers. I have another server which actually has the downloads working properly, but, I can't seem to get it working on this server. Now, I have my download.lua file located in...

2nd April 2015
by BuilderGaming Go to last post
12 324
Help
 

Grappling Hooks and Spiderman weapons not working properly

Alright, so, I am using this swep http://steamcommunity.com/sharedfiles/filedetails/?id=355431607 , now, it works fine in sandbox, but when I add it to darkrp it barely lifts me off the ground. After trying it on darkrp, it doesn't work in sandbox unless...

2nd April 2015
by ThatDesire Go to last post
0 78