3,708 Results
I didn't take the key so you can still get it.
Chessnut Programming Reply
deciphered_byte = byte + 64 modulo 128
Chessnut Programming Reply
[QUOTE=ASIC;52704543]What did the guy say in that video?[/QUOTE] We're a long way from Texas
Chessnut General Discussion Reply
[url]https://www.mathsisfun.com/converting-decimals-percents.html[/url] What do you mean by it doesn't work on low resolutions?
Chessnut Developing Reply
[QUOTE=Conna;52554422]Customers never had to pay for an update to the next version; but no, you're right, they're giving away their labour for free :v: All banter aside, [U]I've never actually been hostile towards NutScript[/U]. I've always found the competition and the jok...
Chessnut Addons Reply
[QUOTE=Kemerd;52258474]Didn't NS 1.1 hold like 120 people at one point with LazarusRP[/QUOTE] I believe they used NutScript 1.0
Chessnut Addons Reply
^ Making cars in GMod
Chessnut General Discussion Reply
Change your character's model to a player model.
Chessnut Developing Reply
[QUOTE=defyReality;51998838]Because no one reads that unless they are the ones making the add-on. Also like James said coder hire died and so did Script Fodder cloning. The fact that he paid 5$ to feature it at one point and no Script Fodder admin made it disabled is mind blow...
Chessnut Addons Reply
I remember getting GMod 10 in 2008, after playing GMod 9 for a while, and being impressed that there were buttons you could press to activate stuff in Sandbox. Then, I went on the Ventmob RP server and was surprised by how much you could do with Lua. So, I tried learning Lua a...
Chessnut Videos and That Kind Of Crap Reply
[url]http://wiki.garrysmod.com/page/constraint/Elastic[/url] ?
Chessnut Developing Reply
[QUOTE=ph4ge;51551585]Do you have any idea of why the way I went about it wouldn't work as well? Shouldn't the lua interpreter read the tokens the same way it reads every other one? EDIT: And your patch works fine, thank you very much :)[/QUOTE] The NULL is a sentinel v...
Chessnut Developing Reply
[QUOTE=TeamEnternode;51446493]Noone's going to try this? [editline]29th November 2016[/editline] Let me post my interperatation that is actually quite clear: ... [/code][/QUOTE] [code] .section ".rodata" .align 4 t: .word 0x20202020, 0x2c202020, 0x20202020, 0x2c...
Chessnut Programming Reply
Did you set the NW bool to false? If it is nil, then the condition fails.
Chessnut Developing Reply
you forgot to activate your almonds
Chessnut Videos and That Kind Of Crap Reply
Learning SFML [media]https://www.youtube.com/watch?v=uuc_SZpLlL8&feature=youtu.be[/media]
Chessnut Programming Reply
You can't use a 1.0 schema with NutScript 1.1
Chessnut Developing Reply
You could have the center of the 2D things you draw be at (0, 0) rather than starting at (0, 0).
Chessnut Developing Reply
[url]https://github.com/Chessnut/hl2rp/archive/1.1.zip[/url]
Chessnut Addons Reply
NutScript 1.0 and NutScript 1.1 are [b]not[/b] compatible with each other.
Chessnut Addons Reply
You're going to need to have getWeight have a callback and run getWeight's callback in the query's OnData function. Or you can load the weight once somewhere and store it.
Chessnut Developing Reply
Why are you using Weapon? Just use self
Chessnut Developing Reply
You shouldn't be using self.Weapon since that was needed when the metatable for SWEPs were separate from the entity or something.
Chessnut Developing Reply
Why are you using self.Weapon?
Chessnut Developing Reply
You need materials/ for resource.Add() but not Material()
Chessnut Developing Reply
[media]https://www.youtube.com/watch?v=uTjQ2B1kY9I[/media] Fixed a problem with the memory being the same table. Now there can be multiple emulators running at once and the characters are fixed.
Chessnut Developing Reply
[media]https://www.youtube.com/watch?v=Q9HMb7c2AfA[/media] chip-8 emulator with screen networked (which might explain why some sprites appear malformed)
Chessnut Developing Reply
Killing the player calls PlayerDeath, and you're killing the player in PlayerDeath.
Chessnut Developing Reply
[url]http://wiki.garrysmod.com/page/CMoveData/SetVelocity[/url]
Chessnut Developing Reply
[QUOTE=dingusnin;50458831]The last vector comes from finding another linearly independent vector to the other two. Naturally as one of the basis vectors could be any direction in R^2, we will have to calculate this third vector. which can easily be done by taking the dot produ...
Chessnut Developing Reply
[url]https://developer.github.com/v3/activity/events/types/#pushevent[/url] [url]https://developer.github.com/webhooks/creating/[/url]
Chessnut Programming Reply
NutScript doesn't block you from using the flashlight. By [url=https://github.com/garrynewman/garrysmod/blob/cca629d87bb3a6b89b188887561d63fc13bed9c0/garrysmod/gamemodes/base/gamemode/player.lua#L580]default the base gamemode only lets you use a flashlight if you allow players...
Chessnut Garry's Mod General Reply
Delete the flashlight plugin from the hl2rp plugins folder.
Chessnut Garry's Mod General Reply
Had a class that used SPARC
Chessnut Programming Reply
[img]http://i.imgur.com/dmfTq9R.png[/img]
Chessnut Developing Reply
16x16 for me means less scrolling and viewing more content
Chessnut General Discussion Reply
Just do [lua] Player:ConCommand("nut plywhitelist \""..ply:Name().."\" usinfantry") [/lua]
Chessnut Developing Reply
[img]http://i.imgur.com/mCOC7tJ.png[/img] i did it
Chessnut Programming Reply
Make a timer with your ping as a delay or use net messages?
Chessnut Developing Reply
Get JBMod instead.
Chessnut Garry's Mod General Reply
Sponza Atrium
Chessnut Programming Reply
That's why there's two functions with the same contents.
Chessnut Developing Reply
But it is sort of recursion, just in a different format.
Chessnut Developing Reply
Did you not pay for the WinRAR license?
Chessnut Fast Threads Reply
file.Write can't write .lua files
Chessnut Developing Reply
You can't unless you use a c++ module.
Chessnut Developing Reply
[lua] local color = HSVToColor((RealTime() * 0.5) % 360, 1, 1) [/lua]
Chessnut Developing Reply
Disable IK on the ClientsideModel to stop the model from stepping like that.
Chessnut Developing Reply
Check if the attacker is a player before trying to get the SteamID.
Chessnut Developing Reply
Why is this better than just making and editing a Lua file directly?
Chessnut Addons Reply
The inventory works by having players have a list of items they own. The data type in Lua for lists is a table. So use a table of items for a player.
Chessnut Developing Reply
Try adding if (use3D == nil) then user3D = false end as the first line in the function body.
Chessnut Developing Reply
[QUOTE=PigeonPatrol;49162021]you are doing over 300 checks a message, but using a table, you would be using one check a message.[/QUOTE] As if a couple milliseconds is going to cause major lag when running commands.
Chessnut Developing Reply
p = (rcos(theta) + x, rsin(theta) + y, z)
Chessnut Developing Reply
[QUOTE=PigeonPatrol;49045394]Yes. Except for the last one, it's not the same. If !CLIENT is true, then it's on the server, but the variable SERVER ~= !CLIENT. It's the 'same' I guess, but not to the computer.[/QUOTE] What? SERVER is true when running on the server. !true ...
Chessnut Developing Reply
Use velocity:GetNormal() * MAX_SPEED instead (basically what you're doing anyways).
Chessnut Developing Reply
SetAngles?
Chessnut Developing Reply
It should be faster.
Chessnut Developing Reply
Hold C and clear your Civil Protection logs.
Chessnut Addons Reply
[B][U]NUTSCRIPT 1.0 SCHEMAS DON'T WORK WITH 1.1[/U][/B] [B][U]NUTSCRIPT 1.0 SCHEMAS DON'T WORK WITH 1.1[/U][/B] [B][U]NUTSCRIPT 1.0 SCHEMAS DON'T WORK WITH 1.1[/U][/B] [B][U]NUTSCRIPT 1.0 SCHEMAS DON'T WORK WITH 1.1[/U][/B] [B][U]NUTSCRIPT 1.0 SCHEMAS DON'T WORK WITH 1.1[/...
Chessnut Addons Reply
How do you think resource.AddWorkshop would only add it for that player if calling it alone forces it to download for everyone already? If you have a SteamID already, just tell the player to subscribe to the content. As of right now, there isn't a way to be selective about dow...
Chessnut Developing Reply
resource.AddWorkshop isn't clientside.
Chessnut Developing Reply
Sometimes a picture isn't enough to convey a message. Maybe I should make it flash rapidly. [img]http://i.imgur.com/bj9b9LY.png[/img]
Chessnut Developing Reply
Probably just copy paste
Chessnut Developing Reply
You're going to need a custom chatbox that can draw images.
Chessnut Developing Reply
Recursively loop through the models folder?
Chessnut Developing Reply
[URL="][IMG]http://i.imgur.com/bPgvfvb.gif[/IMG][/URL] [highlight](User was banned for this post ("Image macro / Reaction image" - Swebonny))[/highlight]
Chessnut Polidicks Reply
At least he didn't include your name and SteamID
Chessnut Addons Reply
[QUOTE=matiasg90;48690431]you have 16 sales. of which I only use layers my server is busy 24 hours a day, maybe that's the problem. You was delayed one month to solve many errors Is not your job ?, to charge me? for an addon that wrong? Give me back my money and not bu...
Chessnut Developing Reply
Use [url]http://wiki.garrysmod.com/page/sound/PlayFile/[/url] instead.
Chessnut Developing Reply
You need to be using draw.NoTexture() before drawing the polygon.
Chessnut Developing Reply
Isn't he Korean?
Chessnut Garry's Mod General Reply
Relogin
Chessnut Developing Reply
Or just edit the file locally and take advantage of Lua autorefresh which is even faster than waiting for the file to upload and update on the server?
Chessnut Developing Reply
Well it looks like he is using 1.0 code in NutScript 1.1, which is the reason why he is getting nil errors. So it should be nut.char.[U]h[/U]ookVar()
Chessnut Developing Reply
Are you using 1.1 or 1.0?
Chessnut Developing Reply
Lerp the 3D2D position
Chessnut Developing Reply
[url]http://wiki.garrysmod.com/page/render/PushRenderTarget[/url]
Chessnut Developing Reply
Are you using 1.1?
Chessnut Addons Reply
Press F2 and there are different options for recognition
Chessnut Addons Reply
Just make a timer and change the volume to it approaches 0 over time.
Chessnut Developing Reply
Not unless you made OnlinePlayerNum global.
Chessnut Developing Reply
I had the constant and damping set to really high amounts. The use of the handbrake off thing worked and now it lifts properly! [img]http://i.imgur.com/EzqafqS.png[/img]
Chessnut Developing Reply
I think the stretchiness of the cable is the reason
Chessnut Developing Reply
Made a tow truck thing [media]https://www.youtube.com/watch?v=7m4GiWeKvaE[/media] Is there a way to make the elastic constraint less stretchy? I was thinking of the rope constraint but I'm not sure if you can change its length.
Chessnut Developing Reply
The game crashes if you use vehicle:SetSpringLength() with a wheel number that is out of range.
Chessnut Developing Reply
[QUOTE=IliekBoxes;48510126][img]http://24.media.tumblr.com/77eda714ab4bd6d22ef3dfe616641961/tumblr_mfinym1iJM1r9hc0jo1_400.png[/img][/QUOTE] Yo' mama so fat, when someone said it was chilly outside she ran out with a big spoon
Chessnut Fast Threads Reply
Change the lerping speeds and stuff.
Chessnut Developing Reply
Not sure why sound didn't record but it has the whole popping and air leaving the tire sound. [vid]https://dl.dropboxusercontent.com/u/24983881/ShareX/2015/08/gm_construct%202015-8-20%2014-11-41.webm[/vid]
Chessnut Developing Reply
Doesn't work on HL2 weapons :(
Chessnut Developing Reply
Add a break after you call net.Send
Chessnut Developing Reply
You don't need to check if it's the first time.
Chessnut Developing Reply
Put the function for SGNAdmin.Kick() at the top.
Chessnut Developing Reply
I made a thing like the Steam market for my gamemode. Works how you'd expect. Players put a listing for any item on the market and other players can purchase them. If you're offline when a player purchases an item you made, you still get money of course. So now there can be an...
Chessnut Developing Reply
JBMod 4
Chessnut Garry's Mod General Reply
The size should be a a power of 2.
Chessnut Developing Reply
Call Iconz:InvalidateLayout(true) after setting the model
Chessnut Developing Reply
You don't need to use VTFEdit for a .png
Chessnut Developing Reply
Made a realtor menu thing [media]https://www.youtube.com/watch?v=zbzCgTWI_sI[/media]
Chessnut Developing Reply
Don't make something do an infinite loop?
Chessnut Developing Reply