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

Is big is a regular server content?

So i was wondering if 200MB of content for a server would be considered a lot

20th May 2014
by Netheous Go to last post
11 282
Help
 

solved file.Write Line Spacing

How do you create line spaces when using file.Write to write to a .txt file? I want something like "Test Test" to turn into: Test Test when its in the file.

20th May 2014
by ZerK Go to last post
2 87
Help
 

Inserting Custom Reload Weapon Sound in TTT

Im stuck for 4 hours checking for answers about how to insert reload sounds. can anybody help me how to insert : resource.AddFile("sound/weapons/f2000/f2000_boltback.wav") resource.AddFile("sound/weapons/f2000/f2000_boltforward.wav")...

20th May 2014
by kiryuki Go to last post
1 284
Help
 

solved Override map texture

Let's say a map uses texture x.vtf and I was to override it to be y.vtf. How can it be done? 19th May 2014 Without forcing a new map download ofc

20th May 2014
by Acecool Go to last post
2 99
Help
 

Custom jobs

Hi i have made some custom jobs like the cop. This is my doorgroup: AddDoorGroup("Nur Polizisten und Bürgermeister!", TEAM_polizist, TEAM_vipbulle, TEAM_Bürgermeister) I worked but if my cop die it dont work again only if i chose the job again :/...

19th May 2014
by klosen Go to last post
0 64
Help
 

solved Getting model from weapon class name

Hi all, Ran into a small problem when making a menu. I have a weapon class e.g "m9k_famas" but how would I fetch the model. The class is only a string and not an entity so I can't use ent:GetModel() is there a list I can use? So how would I go about...

19th May 2014
by Computer600 Go to last post
6 130
Help
 

Vector problems again

So, I'm trying to make it so that if one bed already has somebody in it, it sets the position of the player to the next bed, but it auto sets me to the third bed instead. http://pastebin.com/PHCJ5a7W I know the code is messy, I'll work on it eventually.

19th May 2014
by Robotboy655 Go to last post
7 286
QUESTION
 

Garrys Mod, need help!

I am making a scoreboard gui on a tv screen. But I don´t know how to add the gui to the TV itself. Plz help. Here is the cl_init.lua file: include( 'shared.lua' ) ENT.RenderGroup = RENDERGROUP_BOTH local Table = {} local p

19th May 2014
by fonzieboss Go to last post
2 116
Help
 

Freezing ents in deathrun?

If you have ever played deathrun you know there are perty little grenades that are randomly sparced around the map that gives trails. well once I added some css weapons including grenades they did indeed appear, the only issue is that they fall and move...

19th May 2014
by fast0nitro Go to last post
0 68
Lua scripting
 

Text Based plugin help

Hi. I want to try to create a small text based plugin. etc: help guide for new admins, if they type !help in chat, a list with avaiable commands pops up in their screen in their chat. (That was just a simple example) Thi could be pretty mutch...

19th May 2014
by kevinky Go to last post
21 415
Help
 

Pre-set banned props for FPP?

Just wondering does anyone know or have created a file with banned props that are abusive (too large etc)? Would be ideal as I don't have the time to go through a million props and add them one by one when someone has already done this :)

19th May 2014
by Mors Quaedam Go to last post
3 215
cpp
 

HUD drawing Tutorial. For learners! This thread has images

on behalf of the Facepunch community this thread is no longer available to read. If you want to learn more lua just use gmod wiki. Too much complaining.

19th May 2014
by zerothefallen Go to last post
26 740
Lua scripting
 

A few quick questions from a newbie learning Lua.

Hey guys, just curious, is it possible to make a dialog/choices system when talking to NPC's like Mass Effect, Fallout or Skyrim? Basically you would interact with the NPC with E, or whatever key, then the text of them speaking would show, then you click...

19th May 2014
by Arctanas Go to last post
0 114
Help
 

Adding Playermodels to custom jobs

Hey, Could anyone link me to a tutorial or some instructions on how to add player models(not the default player models. Like the player models like Kane and Lynch) to a custom job.

19th May 2014
by Robotboy655 Go to last post
8 167
QUESTION
 

Is this code correct?

I want to display the amount of points you have on the screen, im using _Undefined's pointshop Im not too sure if this is correct or even along the lines of it?? Can someone clarify? function Player:PS_GetPoints() return self.PS_Points or 0 end ...

19th May 2014
by Skate Go to last post
10 301
QUESTION
 

solved How to translate a coordinate systrem into a spawn angle..

Hi, so my problem is like so: I got predefined custom directions for Forward, Right, Up, which make a coordinate system with a vector origin and the F, R, U. Their lenghts are equal to 1, but it does not matter at all, because I need their world...

dvd_video1 reading
19th May 2014
by dvd_video Go to last post
11 423
Lua scripting
 

solved string.Implode issues?

Hey, so I went to write a simple function that automatically adds "\n" to a string if it gets too long. This is what it like: local desctbl = string.ToTable("This is a test") for i = 1,table.Count(desctbl) do if i == 35 or i == 70 then...

19th May 2014
by Fortune11709 Go to last post
0 74
Help
 

deathrun pointshop weapon wont work?

First off this is my code ITEM.Name = 'Wizz Swordd' // change this to whatever name you want ITEM.Price = 3500 // change this to whatever price you want ITEM.Model = 'models/weapons/w_irifle.mdl' // change this to what shop 'icon' you want...

19th May 2014
by NiandraLades Go to last post
2 88
Lua scripting
 

How would i keep a DFramel from keeping focus of the client?

Hey guys, i have a sort of menu i'm making that i want as a widget sort of thing that you can click but you can also play while it's displayed (I guess the term for this would be putting it in the background?) I can't seem to find a way to do this with...

19th May 2014
by gonzalolog Go to last post
2 85
QUESTION
 

Automatic Gamemode Switcher

Is there any system for servers that will automatically switch gamemodes based on what map you are on? If not is this something that is even possible?

19th May 2014
by BayLife Go to last post
1 116
Help
 

Help with random player models?

Hello I have been trying to implement random playermodels on my server and for some reason my models arent working correctly, there are no models, no errors and no weapons now, what did I do wrong? Heres a pastebin of the stuff I put in, please help <3...

19th May 2014
by brandonj4 Go to last post
3 101
Help
 

solved Player position/vector problems

So basically I'm trying to do a Vector:WithinAABox kind of thing, where if the player's position is within these vectors, and the player press +use, he will be teleported somewhere, but the WithinAABox doesn't seem to work, but I'm just not using it...

19th May 2014
by Captain Spark Go to last post
8 218
Help
 

Door Groups Not Showing Up DarkRP

Im trying to edit door groups in darkrp, and i make one for cops, mayor, police chief and my swat job, and it doesnt show up ingame, and also im making one for gangsters, thief, and mobboss AddDoorGroup("Police, SWAT, and Mayor only", TEAM_CHIEF,...

19th May 2014
by Jvesche Go to last post
3 95
Lua scripting
 

Code challenge?

Ive spent the last few weeks around lua after moving on from a long time with visual basic. im getting the hang of lua. Im not super fluent. Ill probably call myself an amatuer or just under it xD I feel this would be useful for everyone. Can someone...

18th May 2014
by code_gs Go to last post
5 200
Lua scripting
 

solved I need help on overriding HUD

Hi, I'm trying to use a premade Dark RP hud (since I'm too lazy to make my own, call me noob, yes haha) but I'm editing the HUD and I can't figure out on how to override the original HUD, I disabled the Dark RP HUD and I need to get rid of the HL2 default...

Mc
18th May 2014
by Mc Go to last post
2 75
Help
 

Need a testing team for a Nut Script Roleplay

Name: Age: Timezone: Why you should test? (1 Paragraph or more) How many years of Experience?(DARKRP Does not count):

18th May 2014
by Obus Go to last post
2 109
Tutorial
 

solved Client-Side fun stuff - for complete Lua beginners

Moved to: http://wiki.garrysmod.com/page/Clientside_Scripts_For_Beginners

18th May 2014
by Robotboy655 Go to last post
7 332
Help
 

solved Throwing Entity without gravity

I decided to delve into lua today, and I made my first swep. I didn't really make it, I got it from a tutorial but that aside... I want the SMG grenade to be affected by gravity less, and if that's not possible, be not to be affected. Here's what I...

18th May 2014
by Cinere Go to last post
2 109
Lua scripting
 

How can I make a dynamic light attatch to a prop?

Hi there. I'm trying to make a dynamic light system that will spawn a prop and then have a dynamic light attached to it. This would be used for police lights.

18th May 2014
by Robotboy655 Go to last post
3 133
Help
 

Custom Guns on CS:S Maps

I run a server that is running TTT on the default CS maps. The only problem is that I have custom guns that will spawn in the server and they will no spawn on CS maps. Is there any way that I can have these guns spawning? I have tested them on custom maps...

18th May 2014
by code_gs Go to last post
3 74
Help
 

DarkRP VIP Job Problem

Okay so im still working on my Custom DarkRP, And im trying to make a donator Swat Job, and whenever i add this customCheck = function(ply) return ply:IsUserGroup("donator") end, CustomCheckFailMsg = "You need to be a donator to become a...

18th May 2014
by overki11 Go to last post
2 112
Stupid
 

DarkRP Help

I have a DarkRP I am currently developing, I made a Light Gun Dealer and Heavy Gun Dealer custom job. (http://pastebin.com/xxyagcLw) also add CSS weapons shipments (addons/darkrpmodification/lua/darkrp_customthings/shipments.lua or...

18th May 2014
by Gamerzcrafted Go to last post
3 116
Lua scripting
 

Prevent GM:ClearClientState() from stopping sounds

When a new round starts in TTT GM:ClearClientState() will do a lot of shit as well as stop the sounds for the client. Is there anyway to have it so it excludes stopping sounds?

18th May 2014
by Declivity Go to last post
3 113
QUESTION
 

Timer on HUD.

Hey everyone, recently I've been trying to get a timer to display on the HUD, specifically a timer to respawn a dead player, after 3 seconds, using GM:PlayerDeathThink, and timer.Simple(). As an addition to this, I wanted to display my timer on a HUD, so...

18th May 2014
by gonzalolog Go to last post
2 174
Love
 

Positioning 3D2D Cam This thread has images

Okay. Recently I've gotten into that part of Lua I've rarely been to - which is SWEPs. After few days of playing with funcs, hooks and so on I got to the point where everything looks nice and works great... however, it lacks a proper ammo display -...

18th May 2014
by Netheous Go to last post
18 299
QUESTION
 

Gmod CS:S Model paths? This thread has images

I need a player model for a project I am working on for Trouble in Terrorist Town and I would really like to have this one here. My issue is when I use "models//player/ct_gsg9.mdl" I get the model in a T pose and using that without the ct_ gives me an...

18th May 2014
by Exho Go to last post
2 97
Help
 

Browse .txt files on the server?

I want my admins to be able to browse through the data/exsto/logs/ directory and read all the text files in a window while in-game. Where can I start? Will a DFileBrowser work to browse the server side logs?

18th May 2014
by Internet1001 Go to last post
2 104
Help
 

More DarkRP Problems

I am having more problems with my darkrp gamemode. I get the thing where everything in your f4 menu disappears when i add NeedToChangeFrom to mobboss TEAM_MOB = DarkRP.createJob("Mob Boss", { color = Color(25, 25, 25, 255), model =...

18th May 2014
by overki11 Go to last post
2 85
Lua scripting
 

solved ply:SetModel for team | Tables | Help

Hey there. Im currently coding a gamemode, and I have some troubles. I posted a few topics already, and still dont figure out 100% how to finsih off my team code. So, basically, I set up a table with functions inside the player.lua folder. local...

18th May 2014
by Pakos Go to last post
2 110
Help
 

DarkRP model screwup

Ok so im recoding my custom darkrp for the billionth time and i have come across a little error. in the custom jobs lua file i change the police playermodels to the path my police 1940 playermodels are located in, and when i go ingame and select police...

18th May 2014
by overki11 Go to last post
3 68