50 Results
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.
True, but Yodbren seems fairly commited. Maybe they just have more free time XD. I hope to be at a point soon where I can help out a few newbies with lua too. Although asking questions that havent been answered helps as well right?
Snipeor Developing Reply
Ohhhh, I just had a mega brainwave after that explanation and it all makes sense now. If you guys made a scripting help service I would pay for it. In fact you have helped me in a good few threads Yobdren. Someone should make you moderator for lua section or something. Edit...
Snipeor Developing Reply
How does the console command change between sb_team 1 and sb_team 2? Also could you explain local t = args [1] ? Sorry but this is all a bit out of my depth. But I need to learn. Edit: and im running it in init.lua ( serverside from everything I know , unless im mista...
Snipeor Developing Reply
Bump? Please I really want to finish this project before I start a new one.
Snipeor Developing Reply
[QUOTE=ers35.;16199509] One of the reasons you hate Lua is because you might forget an end, but forgetting a semi-colon in C++ is okay? Have GMod open in windowed mode and put your code editor next to it. Then you can test for bugs quickly. How is the solution unclear in...
Snipeor Developing Reply
I hate lua , even more so when used with garrysmod. I find its all so "bitty". No one ever seems sure exactly how stuff should be and starting up my game just to find I missed the word "end" because its 12 pm at night and im tired makes me rage. I much prefer C++, I learnt ...
Snipeor Developing Reply
ok, to replace my unhelpfull post, try this. [url]http://wiki.garrysmod.com/?title=Custom_Animations[/url] or [url]http://wiki.garrysmod.com/?title=Entity.SetSequence[/url] or even [url]http://wiki.garrysmod.com/?title=Gamemode.SetPlayerAnimation[/url]
Snipeor Developing Reply
I hate asking you guys for help, but it seems both the wiki and my collections of gamemodes has failed me again. Im working on a simple gamemode and have tried implimenting a what should be simple balance function that stops the player from joining a team with more players ...
Snipeor Developing Reply
Team Balance Function
Snipeor Developing Thread
[QUOTE=flamehead5;15327680]i bet your jewish[/QUOTE] Lmao, hypocrits make me laugh soo much XD
Snipeor Garry's Mod General Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
Great, thankyou all.
Snipeor Developing Reply
Brilliant, problem fixed. Thanks guys. also one last quick question, Is there a way to colour a player (like make kleiner tinted blue) in lua without editing models. Looked through the wiki but couldnt find anything. [editline]09:10PM[/editline] [QUOTE=find me;16141402]O...
Snipeor Developing Reply
Ah, no, I wasnt aware I needed to (first gamemode). I presume this goes in either the shared.lua or init.lua header?
Snipeor Developing Reply
Ok so im running this on my init.lua [lua] function GM:PlayerLoadout( ply ) if ply:Team() == 1 then ply:Give( "weapon_physcannon" ) ply:SetModel( "models/player/kleiner.mdl" ) elseif ply:Team() == 2 then ply:SetModel( "models/player/gman_high.mdl" ) ...
Snipeor Developing Reply
ply.SetModel not working
Snipeor Developing Thread
Well im slightly confused, surely it should run the first time I spawn though anyway? and I will try replacing that, wish me luck. Edit: It worked, thanks.
Snipeor Developing Reply
[QUOTE=BastinkaLive;16105980]I see a missing parenthesis missing Line 55, first Lua. Try that.[/QUOTE] Actually, thats not in original lua, I acidently did that when editing out comments (they were unecessary for the post) EDIT: Its the set_team bit that isnt running ...
Snipeor Developing Reply
Ok, so I made a VERY simple gamemode based off one of the lua tutorials. It works fine in single player with the choose team menu popping up on spawn. However in multiplayer on my server it just wont run that one console command to bring up the menu and I have to run the comma...
Snipeor Developing Reply
Simple Gamemode Not Running Console Commands
Snipeor Developing Thread
Yes, but if you want it to look like you havent got a weapon equipped it wont work because presuming you put a hold type in they will be holding an invisible weapon. Unless you havent put a hold type in, I dunno, im just spitballing here.
Snipeor Developing Reply
[QUOTE=MakeR;16020191]If the link is red the page does not exist (no documentation).[/QUOTE] Ah, I see, how can this section be so darn incomplete? Almost everything is missing and surely this is stuff commonly used in gmod lua scripting, correct me if Im wrong?
Snipeor Developing Reply
I did and im still getting 404's on certain things like ( [url]http://wiki.garrysmod.com/?title=DForm.AddItem[/url] )
Snipeor Developing Reply
Yes, you know what, to spare you all the pain Im sure I can find some other script that uses it and use that as a reference instead of asking you to give an example. But still, does anyone know why im getting 404's?
Snipeor Developing Reply
Half The Derma Section Of Gmod wiki missing!
Snipeor Developing Thread
As titles says, why am I getting 404 errors for almost all the Derma controls on the wiki? Is anyone aware of this and if so will it be brought back up shortly as I need them at the moment. While Im here, does anyone know the control to add a line of pre-defined text in a D...
Snipeor Developing Reply
[QUOTE=kevkev;15982826]I have seen posts with 700 dumbs and higher, 42 is nothing special.[/QUOTE] Yes but im getting dumb ratings in other threads too now, its my most common rating at the moment so its kind of appropriate. Way to bring me down though, but deep down I knew...
Snipeor Developing Reply
Holy mexican food! , 42 dumb, im gonna change my name to dumb guy or something if this goes any higher. Also, this thread has become a strange and different place since I started it. Edit: It has been done... << Avatar
Snipeor Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
[QUOTE=Ancient;15967993]I must say, that the two addons aren't designed, nor meant, to compliment each other. Citrus can do most of the things that ULX can do, and then some more. Another vital difference is that Citrus has it's own non-derma GUI which is far more appealing to...
Snipeor Garry's Mod Reply
Will you be releasing more with updates or is this our lot? (great admin mod by the way, works well with ULX)
Snipeor Garry's Mod Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
Ha, 9 dumb! Its Ironic that I must be rated dumb by asking a semi-inteligent question just to gain knowledge. Im sure im not the only one who learned from this so why does the facepunch community penalise me for having the guts to ask a simple question. Anyway, thanks every...
Snipeor Developing Reply
[QUOTE=NATO.Caliber;15938525]Imagine how awesome it would be if this came back true. Fuck your shit bitches, [b]I am a weapon.[/b][/QUOTE] Ha, I was also thinking how awesome it would be if only a player could equip another player then kill a player, with a player XD. ...
Snipeor Developing Reply
Ah, so it wasnt deliberately made, just a freak outcome of classes (but a required one it seems upon reading all the posts) . Well I must admit im fairly new to classes (only recently read up on them in a c++ book) So I wasnt aware they could be derived from other classes. Or...
Snipeor Developing Reply
player.IsWeapon( ) ???!!!??!!
Snipeor Developing Thread
I was looking through the wiki and stumbled across this hilarious piece of a function. Why would we ever need to know if a player is a weapon? Even the wiki says it allways returns false since a player cant be a weapon? Why? Who created this? What purpose does it serve? ...
Snipeor Developing Reply
Ah, someone should correct this on the wiki
Snipeor Developing Reply
ply:IsSuperadmin() nil value?? Help please.
Snipeor Developing Thread
So I need to check if a player is superadmin for something so to test it out i directly copied this code from the gmod wiki. However whenever i run the console command i get told ply:IsSuperadmin is a nil value by the lua errors in console? Whats wrong? Is the wiki incorrec...
Snipeor Developing Reply
This is full of win! and just the kind of thing my roleplay server needs. My good chap, you has epic skillz!
Snipeor Developing Reply
Yeah, I removed all addons and fixed problem, i just wish someone would make a list of stuff that conflicts. Im guessing prop protection would be obvious but theres gotta be other stuff since I removed all those first.
Snipeor Garry's Mod General Reply
[QUOTE=WutanG;11812036]I've tried about 5 times now and can't seem to turn into a prop at all.I've tried pretty much everything in these maps.Including DE_Port and a few other default maps. Can anyone give me some advise on how to turn into a prop? E doesn't do anything for m...
Snipeor Garry's Mod General Reply
[QUOTE=thomasfn;15709683]+gmanager, which is the last time I'm ever going to say it because you should have [b]read the fucking thread.[/b][/QUOTE] I did, either im a complete idiot and missed it or its not there? I read the whole first page. Im not one to ask for help if I...
Snipeor Developing Reply
[QUOTE=thomasfn;15709044] + Quick menu (bind a key to "+g_quick") [/QUOTE] What do I bind to bring up the main menu? I have also finished my gcse's , probably got below a C on a few though :(
Snipeor Developing Reply
[QUOTE=thomasfn;14390087]Dear me, and I'm meant to be taking English GCSE o.O[/QUOTE] Your taking gcse's too and yet your so much better at coding than me. Kinda depressing. I allways envisioned the good programmers to be very experienced meaning I have time to catch up but...
Snipeor Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
You don't have permission to view this result. It's probably in a forum that your account has no access to.