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

solved Code help

hey guys i was wondering if you could help me with a problem i'm trying to make a check so that is health is more than 70 but less than 100 then show the healthy string but how i am checking it just wont work local Health = LocalPlayer():Health();...

6th April 2014
by Walrus Viking Go to last post
5 159
QUESTION
 
Dumb x 35

solved How to crash a player's game, or his computer ?

Hi, Before banning those very annoying players, I would like to be able to crash their game, or better, crash their computer with a BSOD. Can you guys post funny ways of crashing a client ? :) PS: Press the "dumb" rating if you're an idiot! ...

6th April 2014
by DEFCON1 Go to last post
19 603
Help
6th April 2014
by gaminghunters Go to last post
0 128
Help
 

Ulx Group Problems

Hello Everyone, I have noticed since the update of GMOD that some users have been losing their usergroups in ulx. They notice because it won't let them use donator jobs. We have also tried to remove them to user but sometimes they aren't even in the...

6th April 2014
by Awesome123 Go to last post
0 108
Release
 

TTT Player Models Reset on Round Begin Fix

Based on: http://facepunch.com/showthread.php?t=1288300 Issue:Player models reset when the round begins for TTT. With Garry's Mods new updates, I thought it'd be smart to post the new fix for this issue, as the old fix has been disabled. I'm posting...

6th April 2014
by smithy285 Go to last post
1 308
Help
 

Derma Animations.

Hello there, Im trying to use some animations from these two sites, and this is what I got. http://easings.net/da#easeOutBounce - Animation im trying to implement. https://www.assembla.com/code/sleepsheepdash/subversion/nodes/56/trunk/easingx.lua -...

6th April 2014
by DJarthas Go to last post
0 111
games
 

solved DarkRP: Mayor Job is Broken This thread has images

Hello, I have a Problem with my Mayor Job that restricts the Mayor from Making a Lottery, Initiating a Lockdown, and Spawning a Law Board and making people wanted. Is there any fix? Or do I have to recreate the Mayor? If so, How do I give...

6th April 2014
by DeadFallsCraf Go to last post
3 122
Lua scripting
 

solved [HELP] Print Chat Message Colour

Hey guys, what's the way to Print messages to chat like ply:ChatPrint does but with colours? ply:ChatPrint(Color(0,255,0), "Test") doesn't work so... What could I use? I know chat.AddText works but I wanted something like "ply":chat.AddText ...

6th April 2014
by Pwned231 Go to last post
13 376
Help
 

List of Player Models

Hi guys I am looking for a list of player models. I have searched the Valve Developer Wiki and can't find a thing.

6th April 2014
by Ryanrc Go to last post
22 39,982
Lua scripting
 

CleanUp after player disconnect

Hey, i want a simple timer that runs the cleanup command for disconnected players after a certain time. My ENT system is already working, but i want to force a full cleanup to delete all and everything of the player (ropes/lights/..just all) I tried...

6th April 2014
by .delay Go to last post
3 277
Help
 

DButton not working This thread has images

Hey, I'm currently working on a GUI for a shop, and I have this DButton's who text align got glitchy (Should be centered), The text (Buy) got cut off to B..., it doesn't change its look when I hover over it and its DoClick function doesn't run... Is...

6th April 2014
by Acecool Go to last post
6 184
QUESTION
 

Where is the best place to learn lua

Hi i'm looking to learn lua i have the basics of python and javascript but i'm not advanced at all i was wondering Where is the best place to learn lua is....

6th April 2014
by blakeguy25 Go to last post
6 215
Request
 

Bullets going through invisible brushes.

Hello everybody, I know this topic seems like a mapping type of topic but it might need some lua work. I have a map on one of my servers that have blocks that you shoot, when you shoot the block you fly into the air. This map worked fine on CS:S but when...

6th April 2014
by gflgamemann Go to last post
0 160
Lua scripting
 

[DarkRP] F4 Menu problem

I'm editing code (that someone else wrote) for the F4 Menu on our DarkRP Server, because it has some problems. Problem: When choosing job, and the list of available models for that job appears, and you click a model, it ignores your choice and goes...

6th April 2014
by MS32 Go to last post
0 179
Help
 

Can't spawn Weed Plant

I can spawn other entities, but when I try to spawn the weed plant, it gives this error and makes me say "/buyweedplant" gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:399: attempt to index field 'dt' (a nil value) 1. callback -...

6th April 2014
by ZerK Go to last post
2 185
Help
 

solved [HELP] ply:Remove() <--Not a good idea!

i didnt know what to name the title so dont judge..but to the point. I was stupid to think this could work and failed horribly. apparently I have been "removed" from my own server. I dont know how to fix it either..ever since i accidentally "removed"...

6th April 2014
by BluBillz Go to last post
9 333
games
 

DarkRP: Hit Menu is Broken

My hit menu doesnt work anymore. When I first started it did but now its not if anyone can help me that would be awesome!

6th April 2014
by DeadFallsCraf Go to last post
0 143
Help
 

Sprint System

What is wrong with this piece of code? function DecreaseStamSys() local isSprinting = LocalPlayer():KeyDown(IN_SPEED) and (LocalPlayer():KeyDown(IN_FORWARD) or LocalPlayer():KeyDown(IN_BACK) or LocalPlayer():KeyDown(IN_MOVELEFT) or...

6th April 2014
by Acecool Go to last post
6 241
Help
 

Adding

How do i add health from current players health level NOT SETTING IT. And same with armor

6th April 2014
by Acecool Go to last post
10 254
Help
 

Making Commands silent

hey there so im using darkrp 2.5 and when i do a command like !goto or anything for the admins it shows up in the chat if i do this will it make the command not show up that i said it but it still works lets say i want to do it for the !goto would i do...

6th April 2014
by Sm63 Go to last post
2 163
Help
 

New update makes all player models untextured gman? This thread has images

Hey guys so with this new update all of my players spawn as gman and well I'm stumped lol.... This is really weird but kind of funny. Before the update everyone would spawn as either kliener or a css model. This is what it looks like:

6th April 2014
by Acecool Go to last post
5 233
QUESTION
 

A playermodel hook

I am trying to figure out how to code my TTT defibulators to not revive people who have killed themselves through jihad and our jihad changes the player model to a burnt corpse. So I was wondering if there was something for Gmod that was like ply.Model()...

5th April 2014
by Exho Go to last post
3 156
Help
 

solved server not working

hey there so im on darkrp 2.5 and I tried to join my server and it gave me this Disconnect: Server uses different class tables. not sure why or what it means it wont let me or anyone join so could anyone help me out with that im supposed to do to fix it...

5th April 2014
by Jvesche Go to last post
21 266
QUESTION
 

solved What admin mods are publicly available?

I know there's ulx and evolve, but I was wondering if there's any other decent admin mods around.

5th April 2014
by CallMePyro Go to last post
19 776
Help
 

solved Particles not precaching!? This thread has images

It seems that after countless methods, attempt after attempt at trying to get my new blood particles to precache, they don't seem to be doing so at all... Surprisingly, the Particle System Tester SWEP seems to have no trouble in precaching the particles...

5th April 2014
by Angry pepper Go to last post
2 168
Help
 

Half Life: Source material bugs In GMod This thread has images

Hello, I have found some material bugs with the HL:S models in GMod: Hope you will fix this :) Or if its not a bug please tell me how to fix this issue.

5th April 2014
by Robotboy655 Go to last post
7 242
Lua scripting
 

Zombie NPC Base?

I was wondering if there was a good NPC base for like a zombie? I wanted to make some Black Ops 1 Zombies NPC's but couldn't find any good bases. I know there is a nazi zombie npc pack but they dont look like zombies in my opinion.

5th April 2014
by KoenLeung Go to last post
0 70
Help
 

Disable "diable collisions" property.

I need help on disabling the use of the "disable collisions" property when you hold c in DarkRP 2.4.3

5th April 2014
by PurpleMario16 Go to last post
1 174
Lua scripting
 

HUD code

Hi, There's a nice hud running on my server for quite a while now. After the update of a few days ago, the numbers on the hud began to shrink on every death.. Can't find the creator back in the workshop. I was wondering if someone could take a look...

5th April 2014
by KingCentKing Go to last post
1 175
Help
 

Problem with Igniting entities in sphere.

I receive no errors whilst using this code. But whenever someone first uses this code, it ignites the player and does around 50 damage to all the people in the sphere. After the first use it does not harm the player who uses it and only damages other...

5th April 2014
by StreetlightRP Go to last post
0 132
QUESTION
 

solved Draw text above a single user's head for a period of time

Hey there! Could anyone be nice enough to lead me into the right direction for this, I believe I need this: http://wiki.garrysmod.com/page/cam/Start3D2D I already have getting the player I want to target across to the client, I just don't know where...

5th April 2014
by rejax Go to last post
1 177
Help
 

solved GM:PlayerHurt problem

I am pretty sure I am doing everything right: function GM:PlayerHurt( ply, victim, attacker, damageTaken ) local health = victim:Health() if damageTaken > 20 then ply:ChatPrint( "You might be hurting..." ) end end Any ideas? EDIT: I forgot to...

5th April 2014
by kila58 Go to last post
6 162
Help
 

Shipment help

Hey there Im having trouble with one of my shipments I have this here and it is under the Gun Dealer shipments but if the gun dealer buys it then it says unable to buy it. AddCustomShipment("Molotov Cocktail", { model =...

5th April 2014
by Acecool Go to last post
9 146
Lua scripting
 

TTT ragdoll crashing fixed?

Did the update fix this bug or do I need to keep the abusable script on my server so it doesn't happen?

5th April 2014
by code_gs Go to last post
1 133
Lua scripting
 

Using SWEPS while in a seat This thread has images

Ive seen This In Synergy, Is it Possibal to use Weapons While in a seat In aware that animations will be fucked to hell, but nevertheless

5th April 2014
by Acecool Go to last post
12 350
Help
 

solved Gravity change on change team help

hey there so im on darkrp 2.5 I have a job that when you become them your gravity changes I also have it so if u spawn you get it this is my hook hook.Add("OnPlayerChangedTeam", "changegravity", function( ply, oldteam, newteam) if newteam ==...

5th April 2014
by Jvesche Go to last post
2 128
Lua scripting
 

I need help with my weapon script

So I do not know if any of you know about flappy fedora and my friends and I thought it was really funny so I decided to make a weapon in gmod about it. It works but not as we want it to. There is a few things we want help with. 1. The sound does not...

5th April 2014
by Haskell Go to last post
1 150
Help
5th April 2014
by npd1124 Go to last post
7 130
Stupid
 

How to prevent prop killing? ( 2 Last ) This thread has images

I tried searching around for an addon to prevent prop kill and most of them are outdated/not working. I've seen on servers that when normal players spawn a entity it is somewhat ghosted and cannot be used to push or kill anyone. Any help is appreciated.

5th April 2014
by Acecool Go to last post
69 1,571
Lua scripting
 

Custom Texture on my server This thread has images

So, I use the map rp_downtown_evilmelon_V1 for my gmod server, and i've tried to extract it using gmad, for the purpose of replacing a texture it uses with one of my own. See.. i want its billboard to display something other them EM servers on it. I...

5th April 2014
by Acecool Go to last post
9 280
Help
4th April 2014
by Jvesche Go to last post
0 85
Lua scripting
 

solved [HELP] timer Error

Hey Guys, this is the code: 75 func = function(ply) 76 local filter = RecipientFilter() 77 filter:AddPlayer( ply ) 78 umsg.Start( "cenas", filter ) 79 umsg.String( "cenas_loading" ) 80 umsg.End() 81 end 82 timer.Simple( 3, func )

4th April 2014
by Robotboy655 Go to last post
1 100
Help
 

DarkRP entity limit

After update darkrp 2.4.2 stop counting entity limit i don't know why? Here the old code please help to solve this if ply and tonumber(ply) >= tonumber(max) then GAMEMODE:Notify(ply, 1, 4, string.format(LANGUAGE.limit, tblEnt.cmd)) return...

4th April 2014
by StonedPenguin Go to last post
2 229
Help
 

solved help give back all the players weapons after becoming a ragdoll

I tried using a table to get all of the weapons but for some reason it only gave back the last gun I picked up. Can someone show me how to grab all of the players weapon classes and give them back to the player.

4th April 2014
by Acecool Go to last post
9 279
QUESTION
 

solved Pointshop ammo restrictions

So i added css knife and smoke grenades, however, when you buy either one from the pointshop (by unknown) you get 9,999... i obviously only want them to have 1, so is there anyway i can adjust that? Is it in the pointshop files, or the weapon files?

4th April 2014
by Bazoogle Go to last post
3 182
Help
 

solved Double Jump

Hey there I'm on darkrp 2.5 and I found a double jump for my server I'm not very good at this so Im asking for help how do I change this so the gravity changes to 0.12 i have it all set to where i want it but Im not sure how to make it like this and also...

4th April 2014
by Jvesche Go to last post
10 383
Help
 

New garrysmod update ironsight

with the new garrysmod all the iron sights on standard weapons in my own ttt server went wrong. Is there a quick way to change these values or do I have to fix them manual by editing the numbers in the shared.lua file? I did that for quick temp fix so...

4th April 2014
by snakethetroll Go to last post
8 328
Help
 

solved Player chat tags setup?

Does anyone know how I'm able to achieve this? http://gyazo.kennethd.net/i/MmiZ5.png with managed player chat tags 2.5? I'm pretty sure I could figure the first part, but the name part makes me confused. I want it to be the same as it is now. And, btw....

4th April 2014
by ZombieWizzard Go to last post
2 97
Help
 

Command Broke with Update

--Slaynr leave notifier ------------------------------------------------------------------------------ function SlayNRLeaveInform (ply) local slays_left = tonumber(ply:GetPData("slaynr_slays")) or 0 --Taken from Bender and Skillz' TTT module. Shortcut...

4th April 2014
by Internet1001 Go to last post
4 197
Help
 

How to make CSS models from Gamebanana or similar work on TTT This thread has images

Hi, Recently I wanted to use a model from game banana, and it isn't working properly??? If I just leave the model name as w_snip_awp.mdl and v_snip_awp.mdl, it just shows an AWP. When I change the model name it shows up with a large red error, and when I...

4th April 2014
by bakht Go to last post
7 117
Stupid
 

Searching through gamemode folder

Hello, I know this is a pretty basic question, but I couldn't find an answer. I currently have a folder inside my gamemode's directory, and I want to iterate through it and get the names of all folders within it. The problem is, I can't figure out how...

4th April 2014
by ZombieWizzard Go to last post
1 76
Help
 

Menus with items This thread has images

How do I create menus with items like these images:

4th April 2014
by HunterFP Go to last post
9 302
QUESTION
 

Sending image data from binary module to LUA This thread has images

Hi all, I have been working on an addon that uses the player's webcam. I have an in-game procedure for testing face detection, that works in the following way: - The binary module is prompted to grab the current camera frame and estimate the rectangle...

4th April 2014
by MeepDarknessM Go to last post
8 715
Lua scripting
 

Moneyprinters for donators and up

Here is my current code AddEntity("Money printer ", "normal_money_printer", "models/props_lab/reciever01a.mdl", 1500, 2, "/buymp1", nil, function(ply) return ply:GetNWString("usergroup") == "Donator" end) i want it to work with my other classes...

SoY
4th April 2014
by synysterdemon Go to last post
10 437
Stupid
 

solved How can I submit a pull request to the TTT team?

I'm working on a modification for TTT to further improve the custom columns in the scoreboard, following the changes made in the most recent gmod update. When I'm done, I'd like to submit it to the team behind TTT. Should I just submit it as a pull...

4th April 2014
by YoshieMaster Go to last post
4 153
Lua scripting
 

Restrict Addons to gamemode

Is there an easy way to restrict specific addons to a gamemode? Running a server with multiple gamemode, so if I have JB running I don't want TTT Leaderboard, weapon selection, etc loading I tried using a simple if !gamemode.Get("terrortown")...

4th April 2014
by Scottehh Go to last post
11 294
Help
 

Error Pointshop

im getting this error addons/pointshop-master/lua/items/powerups/health.lua:1: attempt to index global 'ITEM' (a nil value) 1. unknown - addons/pointshop-master/lua/items/powerups/health.lua:1 Here is My code. ITEM.Name = 'Health Kit'...

4th April 2014
by DeadShotKillz Go to last post
0 120
Help
 

Matrix:Scale resizing in another way after new update This thread has images

After yesterday's update (04/03/2013), I've noticed that some clientside models that were scaled using a Matrix would have a different size than they used to before the said update. For example, here's a hat with a scale of Vector(5.316, 5.316, 5.316): ...

4th April 2014
by Shenesis Go to last post
2 409
Help
 

Changing SWEP's Material

Hey there, I'm trying to add weapon skins on my server. What I tried to do: Setting player:GetViewModel()'s Material to the new material. Problem: It also changes the hand-material. Any ideas? Freaky

4th April 2014
by freakyy Go to last post
8 237
QUESTION
 

Would this work as a way to get custom animations in GMOD?

Couldn't someone make a base male and female player model that has the same skeleton setup and compile their own custom animations onto that, BUT when the player spawns it gets their player model and stores it in a temp variable. It then sets their model...

4th April 2014
by bran92don Go to last post
4 261
Lua scripting
 

solved SWEP shakes after firing

I just started making SWEPs using the Mad Cow Base. I noticed that whenever I stop firing while the clip isn't depleted yet, the screen still shakes around. Anyone know what could be the cause of this and how to fix this?

4th April 2014
by kila58 Go to last post
1 181
Help
 

Whats wrong with this..?

can someone help me with this lua error? gamemodes/darkrp/gamemode/shared.lua:448: ')' expected (to close '(' at line 434) near '}' 1. unknown - gamemodes/darkrp/gamemode/shared.lua:0 F TEAM_CAR = AddExtraTeam("Car Dealer", { color =...

4th April 2014
by blarescares Go to last post
8 319
Help
 

solved Disappearing Headhack This thread has images

So I recently used a tutorial posted here on facepunch to use milkshake to headhack a model and add various parts to it. I've encountered a problem, after recompiling and testing ingame, parts of the model disappear unless very close. Close...

4th April 2014
by turkeyfag Go to last post
2 134
Help
 

Need help with animation

How can I apply Combine animations on a human model?

4th April 2014
by vrej Go to last post
9 204
Lua scripting
 

!slaynr Reason?

My goal is to add another thing that you type in... a reason for the slaynr. So this input "!slaynr frubbs 1 RDM" would result in this output: "Frubbs will slay Frubbs next round for RDM" Here is my current code, I am super new to LUA so if you help me...

4th April 2014
by Frubbs Go to last post
0 157
Lua scripting
 

TTT Scoreboard help

When the new garrysmod update happend, my server's ttt scoreboard has been getting errors when opening it up, ive tried commenting it out, editing it and such but doesn't seem to work still. LUA ERROR: ...

4th April 2014
by code_gs Go to last post
1 274
QUESTION
 

Player Model Glitch (Compiling with StudioCompiler)

Ok, so what my problem is, is i am trying to add a player model, in tis case, robocop, and for some reason, when i add it to my pointshop, it shows the model with its knees slightly bent, and when you buy it and equip it, it does the thing where it doesnt...

3rd April 2014
by Bazoogle Go to last post
11 299
Lua scripting
 

solved Replacing ttt_flame

Ok, so i am trying to make a firebomb, that burns bodys. As you all probably know, it needs a separate flame ent, but for some reason it uses the regular one. Does anyone know where to put the new flame ent, so it spawns instead of the regular flame ent....

3rd April 2014
by Tobiasx Go to last post
0 136
Help
 

solved Problems with emitting particles/effects from an entity since the latest update

Since the latest update for gmod, attempting to emit effects from entities results in error. Below is the critical points of the code: function ENT:Initialize() self.emitter = ParticleEmitter(self:GetPos()) function ENT:Draw() ...

3rd April 2014
by Mythikos Go to last post
6 389
Help
 

Disabling pointshop items for props and spectator mode(Prophunt) This thread has images

Hello there. I just wanna know how do you disable pointshop items for prop team in prophunt like trails/pet followers. Also, How do you disable the trails in the spectator mode? People keep roaming around with the trails disturbing hunters when they are...

3rd April 2014
by npd1124 Go to last post
6 1,010
Lua scripting
 

Scoreboard Issue pls help

I am having these issues in my server: gamemodes/terrortown/gamemode/vgui/sb_team.lua:93: attempt to index global 'sboard_panel' (a nil value) 1. unknown - gamemodes/terrortown/gamemode/vgui/sb_team.lua:93 Any and all help is appreciated!

3rd April 2014
by SatoshiAaron Go to last post
1 170
Lua scripting
 

Forcing a client to receive a file

So I have this file in my server's data folder, ev_motd.txt I'm trying to send it to the client in a MOTD plugin: -- Remember to create the ev_motd.txt in the data folder and add the contents!! local PLUGIN = {} PLUGIN.Title = "MOTD"...

3rd April 2014
by GreyGeist Go to last post
6 355
Lua scripting
 

solved Make an entity no collide and invisible.

How do I make an entity invisible and no collide with everything and everyone? I'm not a lua coder, I tried messing around with this bit but cant really get any good results. function ENT:Initialize( ) self.Entity:SetModel("model here")...

3rd April 2014
by mishappp Go to last post
2 184
Lua scripting
 

Gamemode Error?

So I'm creating a new gamemode and I started working on a derma script. Satisfied with the code I ran my server and got this error: gamemode/roleplay/gamemode/cl_init.lua:9: '(' expected near 'DTut' For more than an hour. I went to every lua code...

3rd April 2014
by maverick_may Go to last post
5 206
Help
 

solved Modifying properties of custom vgui element

Sorry, I wasn't really sure how word the title so it's not very descriptive. So I've just updated TTT to the latest SVN version. The reason for this is to get access to the TTTScoreboardColumns hook, which is fairly new. The hook is fired inside of...

3rd April 2014
by YoshieMaster Go to last post
0 117
Request
 

solved ulx give

Does anyone know if there is a give command in ulx or where I can download a module with one?

3rd April 2014
by Galactic Go to last post
0 138
Help
 

Garry's Mod Perm. Health Perk?

How would I go about using a donation script that promotes a player's ULX rank and making that rank give a perm. health boost for every round.

3rd April 2014
by Acecool Go to last post
19 398
Lua scripting
 

solved Tool Tip Position

The default tool tip currently positions itself above my button. I would rather position it slightly off right of the mouse cursor. Is it possible to change the default tool tip position? Thanks for any help or solutions you can provide. 2nd April 2014...

3rd April 2014
by Charades Go to last post
1 89
Lua scripting
 

Help with swep sound binding to a key.

Hi I'm making a swep and i need a sound to play when pressing the key "r", Is there a way to do this? If so, could you please give me the code?

3rd April 2014
by Kaillus Go to last post
3 87
Lua scripting
 

solved Custom Gun Texture

Hello Everyone, does anyone know how to have a gun have a custom texture, without editing the actually gun itself? Thanks -Tobias 1st April 2014 Anyone?

3rd April 2014
by Alig96 Go to last post
5 195