I didn't take the key so you can still get it.
deciphered_byte = byte + 64 modulo 128
[url]https://www.mathsisfun.com/converting-decimals-percents.html[/url] What do you mean by it doesn't work on low resolutions?
[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...
[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
Change your character's model to a player model.
[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...
[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...
[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...
Did you set the NW bool to false? If it is nil, then the condition fails.
Learning SFML [media]https://www.youtube.com/watch?v=uuc_SZpLlL8&feature=youtu.be[/media]
You can't use a 1.0 schema with NutScript 1.1
You could have the center of the 2D things you draw be at (0, 0) rather than starting at (0, 0).
NutScript 1.0 and NutScript 1.1 are [b]not[/b] compatible with each other.
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.
Why are you using Weapon? Just use self
You shouldn't be using self.Weapon since that was needed when the metatable for SWEPs were separate from the entity or something.
Why are you using self.Weapon?
You need materials/ for resource.Add() but not Material()
[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.
[media]https://www.youtube.com/watch?v=Q9HMb7c2AfA[/media] chip-8 emulator with screen networked (which might explain why some sprites appear malformed)
Killing the player calls PlayerDeath, and you're killing the player in PlayerDeath.
[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...
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...
Delete the flashlight plugin from the hl2rp plugins folder.
Had a class that used SPARC
Just do [lua] Player:ConCommand("nut plywhitelist \""..ply:Name().."\" usinfantry") [/lua]
[img]http://i.imgur.com/mCOC7tJ.png[/img] i did it
Make a timer with your ping as a delay or use net messages?
Get JBMod instead.
That's why there's two functions with the same contents.
But it is sort of recursion, just in a different format.
file.Write can't write .lua files
You can't unless you use a c++ module.
[lua] local color = HSVToColor((RealTime() * 0.5) % 360, 1, 1) [/lua]
Disable IK on the ClientsideModel to stop the model from stepping like that.
Check if the attacker is a player before trying to get the SteamID.
Why is this better than just making and editing a Lua file directly?
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.
Try adding if (use3D == nil) then user3D = false end as the first line in the function body.
[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.
p = (rcos(theta) + x, rsin(theta) + y, z)
[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 ...
Use velocity:GetNormal() * MAX_SPEED instead (basically what you're doing anyways).
It should be faster.
Hold C and clear your Civil Protection logs.
[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[/...
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...
resource.AddWorkshop isn't clientside.
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]
Probably just copy paste
You're going to need a custom chatbox that can draw images.
Recursively loop through the models folder?
At least he didn't include your name and SteamID
[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...
Use [url]http://wiki.garrysmod.com/page/sound/PlayFile/[/url] instead.
You need to be using draw.NoTexture() before drawing the polygon.
Isn't he Korean?
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?
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()
Are you using 1.1 or 1.0?
Lerp the 3D2D position
Are you using 1.1?
Press F2 and there are different options for recognition
Just make a timer and change the volume to it approaches 0 over time.
Not unless you made OnlinePlayerNum global.
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]
I think the stretchiness of the cable is the reason
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.
The game crashes if you use vehicle:SetSpringLength() with a wheel number that is out of range.
Change the lerping speeds and stuff.
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]
Doesn't work on HL2 weapons :(
Add a break after you call net.Send
You don't need to check if it's the first time.
Put the function for SGNAdmin.Kick() at the top.
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...
The size should be a a power of 2.
Call Iconz:InvalidateLayout(true) after setting the model
You don't need to use VTFEdit for a .png
Made a realtor menu thing [media]https://www.youtube.com/watch?v=zbzCgTWI_sI[/media]
Don't make something do an infinite loop?
Made a crafting thing [media]https://www.youtube.com/watch?v=FJnt1eDwTeI[/media]
Network when the lever is pushed to all the players then?
They probably used the CalcView hook and Lerp'd positions so the camera moves between those positions. The addon you posted uses [url=https://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Rom_spline]Catmull-Rom splines[/url], hence the name.
This should get you started: [url]https://www.youtube.com/watch?v=bXtrdZoGxoI[/url]
Made a fast train on metastruct [vid]https://dl.dropboxusercontent.com/u/24983881/ShareX/2015/07/gm_construct_m_128%202015-7-31%2017-01-20.webm[/vid]
Just out of curiosity, do you guys ever try to rip off players when dealing with points/money in your scripts? For example, when a player loses like 50% of their money on death, then I'd use math.max and "maximize" their loss. Or when the player is refunded 50% of money ...
I'm not sure if 3D2D is going to make it look better
[img]http://i.imgur.com/Kxj9mVc.png[/img] I'm so confused