Title / Thread Starter Last Post ByReverse Sort Order Replies Views
Lua scripting
1 Week Ago
by Walrus Viking Go to last post
20 412
QUESTION
 

Darkrp Code Is this correct?

Its not so much a "is this correct because i can't be bothered to test it thread" I just see alot of people asking how to disable hunger mod when theres not a cook so I thought I would give it a try and I knwo its not right. Can someone lead me on the...

1 Week Ago
by Skate Go to last post
3 85
Help
 

DarkRP Menu

For you great DarkRP coders out there this question will probably be easy.... How can I make my darkrp 2.4 f4 menu to look like this... http://gyazo.com/8827a73bafa697f206744bc594801a39.png?1355633897 Tell me exactly which file the problem is in...

1 Week Ago
by mib999 Go to last post
19 373
Help
 

solved CSS Mount Problem This thread has images

I put my cstike folder in the garrysmod folder of my host server. I'm having trouble with mounting the cstrike folder though. I placed multiple paths in the mount.cfg none work. DarkRP still says css isn't mounted. Yes, I contacted my host. They don't...

1 Week Ago
by Gomez Go to last post
7 89
Help
 

Changing player model

Hi I'm working on custom gamemode and I have problem with creating player model choice menu like in sandbox. I don't have any idea how to do this I tried in cl_init.lua: model1_spawn.DoClick = function() ...

1 Week Ago
by TheCodingBoss Go to last post
2 65
Lua scripting
 

Prop Hunt - Blind Lock Screen Fix

I don't know if any of you out there who run the classic Prop Hunt gamemode are tired of this issue, but certain maps on the Workshop failed to enclose the map in a skybox (I think that's the issue at least). So when the hunters are "blinded" by putting...

1 Week Ago
by therealist Go to last post
2 61
Request
 

Prop hunt prop rotation

So I've played on a few servers where it is possible to rotate your prop by rotating your camera as normal, then right clicking. The rotation is not displayed server side until the point that you right click, so you can still look around without your prop...

1 Week Ago
by camjay Go to last post
1 93
Lua scripting
 

solved Trouble uploading SWEPS to the workshop

I have uploaded one item to the workshop using what I thought was an easier uploader rather than gmad and gmodpublish. But it doesn't upload lua files. (Since sweps are lua files) I tried opening gmad and gmodpublisher and both open for a few seconds...

1 Week Ago
by D3athChick3n Go to last post
24 161
QUESTION
 

Parent Entity to Entity without losing it's physics

I'm trying to make a few models combined into 1 entity, so far I used SetParent to combine them into 1, but you cannot physgun those other objects only the parent and they seem not to have physics or collide with anything they just go through the world.

1 Week Ago
by KokoNum Go to last post
13 327
Lua scripting
 

DarkRP Starting Money

Hi! I am pretty new to Lua and am a little stuck trying to find out how to make it so that players start with $50k when they first join. I thought about making it execute rp_setmoney 50000 with the function GM:PlayerInitialSpawn but I realised that...

1 Week Ago
by ~RogerThat Go to last post
4 77
Help
 

GM:PlayerInitialspawn not working and teams not working

Title still says it all function GM:PlayerInitialSpawn( ply ) ply:SetWalkSpeed( 150 ) ply:SetRunSpeed( 500 ) print( "Someone Connected!") ply:ConCommand( "MyMenu" ) ply:Give( "weapon_crowbar" )

1 Week Ago
by MasterKenneth Go to last post
2 52
Help
 

solved Prevent Typing Specific Commands "DarkRP"

How can I prevent a user from typing certain commands in chat say... "/kidnapper"? Make it so the must use the F4 menu to pick the job. Is there not a way to just detect what was typed in chat and make the text null?

1 Week Ago
by Frubbs Go to last post
6 70
Request
 

Making a TTT server

Hello, For a long time now, I've been wanting to make a TTT server. After trying multiple times with sweats & tears, I've decided to stop what I was doing. With total frustration, I just couldn't do it! I'd say this is more of a request than a helping...

1 Week Ago
by YourStalker Go to last post
20 245
Help
 

Is my server crashed by ddos ?

There were about 24 players on my server and when someone says in the chat : "If the server crash come join me on twitch" then the server immediatly crash. when I look on the console i was geting those prints: # _GetLong: Split packet from with...

1 Week Ago
by Reyjr43 Go to last post
8 222
beta
 

Bonemerge Problem

When I bonemerge something to my player's model, there becomes a duplicate of my player model, with the same texture of whatever is attached. I'm using this script in Sandbox, and have no addons. All the resources including .smd/.blend/.qc/.mdl :p ...

1 Week Ago
by Walrus Viking Go to last post
12 279
Help
 

Reload the data on a gmod server

Hello, I made a little program that sync the data between the 2 servers that I have and I check if it was working and I thought that the data was loaded in realtime, but no, so, is it possible do load the data in gmod ? and when I'm telling "data" it's...

1 Week Ago
by YourStalker Go to last post
7 100
Help
 

Extra objects damage This thread has images

Hello friends, I add objects on my server for fix bug sites. Example: Bug on css office: My solution: The props can hide in these sites and is completely invisible to the hunters.

1 Week Ago
by Walrus Viking Go to last post
19 337
Humor
 

solved ULX- Custom Command - Resize and CalcView

I was working on a little ULX script for fun, but I can't find a way of setting up a value in the file without it being changed back and/or it being recongnized by the MyCalcView. (For all I know it could be a really simple problem or a matter of I have...

1 Week Ago
by Ekuland Go to last post
4 175
QUESTION
 

A Better GMod Lua Reference This thread has images

Edit: My question was answered.

1 Week Ago
by Fr0z3n F14m3 Go to last post
4 135
Help
 

NextBot loco crashing gmod if spawning in invalid position

If I try to access a nextbot's locomotion (e.g. bot.loco), when the NextBot is in an invalid position, such as inside a wall or under the ground, the game crashes. Anyone else had this issue? I have it even with the NextBot from the tutorial on the wiki....

1 Week Ago
by Varen Go to last post
1 72
Help
 

solved Get player spawned props amount

Hello, How can i get from a player the amount of props he spawned i tried (clientside) : ply:GetCount("prop_physics") But I always get 0.

1 Week Ago
by Bnadm Go to last post
6 62
Help
 

Detective Round with DNA Scanner

I'm trying to figure out how to allow those who purchase a Detective Round to spawn with a DNA Scanner. Not sure how to get it to work, anyone mind helping me out? ITEM.Name = 'Become Detective' ITEM.Price = 1500 ITEM.Material = 'VGUI/ttt/icon_det.vmt'...

1 Week Ago
by Exho Go to last post
3 76
Lua scripting
 

Need help in LUA coding.

Hi there guys, im TheBeastMAN. I am making my own custom HUD and need help with something. I want to place weapon icon's on the HUD. I want it that whenever someone picks up a weapon it shows the icon of the weapon beside the ammo. Here is a...

1 Week Ago
by nettsam Go to last post
5 124
Help
 

Drawing viewmodel + world model

Does anybody know how to draw the viewmodel and the world model of the localplayer? I'm trying to get the model matrix of the player, but I can't do this because it isn't being drawn.

1 Week Ago
by AtomicTACO Go to last post
4 114
Help
 

solved Disable "/jobname" DarkRP

Hey, so I am using RocketMania's F4 Menu and am currently using his method to set VIPOnly jobs. It all works dandy and only the user groups allowed can join the jobs, but there is a work-around. If you type "/jobname" or in this case, "/kidnapper", you...

1 Week Ago
by Frubbs Go to last post
22 195
games
 

Admin only jobs

In DarkRP i use Dead Eye Class Maker to make my jobs. i made a Admin On Duty class hear is the code : //Created using DeaDeye's Classmaker TEAM_ADMINONDUTY = AddExtraTeam("Admin On Duty", Color(255, 0, 0, 255),...

1 Week Ago
by TheCodingBoss Go to last post
10 246
Help
 

How do I install the Jihad Bomb onto my TTT server? This thread has images

I'm doing alot of test, but i cant find or code the right way to add the workshop jihad bomb. can someone plz help me out.

1 Week Ago
by Tolee Go to last post
8 5,622
Lua scripting
 

solved Best hook for SetWalkSpeed/SetRunSpeed

I'm currently setting these in SetupMove which works but I wonder if there's a better way? Putting it in PlayerSpawn doesn't appear to work.

1 Week Ago
by MattJeanes Go to last post
8 231
Help
 

[DarkRP] Fast question.

Hello, i want to make a custom F1 menu but where can i delete/disable the old one?

1 Week Ago
by kevinky Go to last post
9 964
Lua scripting
 

Adding custom hook help

So i use the Free DarkRP leveling system http://steamcommunity.com/sharedfiles/filedetails/?id=270216963 What I am trying to do is create a hook or function that when a player goes afk they wont earn exp. I dont know much of lua but I think I might be...

1 Week Ago
by 73udz Go to last post
5 88
Help
 

Give pointshop point when wining a round - Cops n' Runners

How can I give pointshop points when like the warden won, on Cops n' Runners ? i'm using this pointshop: LINK and I posted a topic before but it doesn't help me much... Help please Thanks

1 Week Ago
by Mr. Happy Go to last post
8 152
Help
 

CanTool Hook, I really dont know what is happening

local limits = { -- --"example", "groupname", "limitinnumber", "thelimitname" "thrusters", "Owner", "3", "Thruster" }

1 Week Ago
by crazyscouter Go to last post
10 224
Lua scripting
 

Password hash & salt : php>luaportage

Hi guys, i began to talk about my script on the _gmsv_crypt thread but finnaly i have a problem with the portage of my cms script to lua. So if someone know both languages (php and glua) and can explain me why the resulted password crypted is...

1 Week Ago
by zemec9 Go to last post
1 148
Lua scripting
 

Lua stuck :/

Hello, i have a certain lua file in "lua/autorun" and im having a bit of trouble, i have this : local function pre(ply, msg, isTeam, isDead) MsgN("hello") local strr = file.Read("unforgiven5232.txt","DATA") local amountt =...

1 Week Ago
by unforgiven523 Go to last post
15 392
Help
 

Severe server lag; Stuttering, This thread has images

I have a really REALLY good dedicated box from NFO, the most expensive one you can get, How do i solve this:

1 Week Ago
by LordTyler Go to last post
7 101
Help
 

Problem with prop hunt :(

Hello, I have several problem with my prop hunt. it may often when I rejoin the party never starts, even if it is 4, I am forced to redemmarer the map to play. after I saw the props with weapons O_o So I know what to do knowing I resolve problem...

1 Week Ago
by warblack31 Go to last post
11 132
Lua scripting
 

Changing Default TTT playermodel??

EDIT:: I fixed the problem, simply download the file and make it read only in properties then reupload! I've edited my shared.lua in Gamemodes for TTT, but it keeps reverting! Every time the server restarts that file is erased and replaced to...

1 Week Ago
by leyshadow Go to last post
1 59
Lua scripting
 

DColorMixer in HUD

Hello I made a DColorMixer but how do I get it to go into something like a drawroundedbox Sorry if this is super easy to do

1 Week Ago
by Braden1996 Go to last post
2 132
Lua scripting
 

What could cause this error? This thread has images

Does anyone know what could possibly be the cause of this? Sending a rather big table, but it's under 64kb, and not sure exactly why this error would throw.

1 Week Ago
by Robotboy655 Go to last post
3 96
Lua scripting
 

solved Need help with lua, no-collide world

So i'm trying to make a train that runs over a player when called.... only problem is that i can't get that train to go through the world walls... any suggestions? my train... http://pastebin.com/rtUcFiAm I probably should also mention that I am an...

1 Week Ago
by thegrb93 Go to last post
15 316