[GMOD LUA] Ep. 7 Server Side Scripts

[GMOD LUA] Ep. 7 Server Side Scripts

〈CODE BLUE〉

9 лет назад

49,508 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ben_mhd
@ben_mhd - 10.07.2023 13:15

BTW today you cant ban somebody in a singleplayer you need a local server

Ответить
@sak-superagentkaboom5968
@sak-superagentkaboom5968 - 06.03.2022 14:41

Access denied XD

Ответить
@justinwaluigi5485
@justinwaluigi5485 - 15.05.2020 23:00

Do you need to make sure you have the port forwarded before using the server commands? I made a server on Local Network without forwarding so well if it's local of course that obviously probably shouldn't work and it hasn't. Is it supposed to be possible without forwarding?

Ответить
@HouseJambo
@HouseJambo - 21.03.2020 17:52

Hello, just started a server. Can you teach me how to make it so post processing color modification can work on everyone who joins the server? I want everyone to see my preset colors. :0 Thanks.

Ответить
@d0nut350
@d0nut350 - 17.03.2020 02:39

I didn't get kicked whenever I did the last script...? Even though I put in true on the boolean value. Help? Anyone?

Ответить
@kapitalmak2521
@kapitalmak2521 - 01.02.2020 19:51

my lua_openscript isn't working, what should I do?

Ответить
@aleksi5835
@aleksi5835 - 31.05.2019 18:47

When you want to start the script, be carefull to enter lua_openscript and not lua_openscript_cl , like i did (stupid me)

Ответить
@MalakaiProgrammer
@MalakaiProgrammer - 06.12.2018 20:43

instead of IsPlayer(), you could use "if type(entity) == 'Player' then"

Ответить
@thebigcouch
@thebigcouch - 22.11.2018 07:29

How do you get that coding website thingy. Where you do that coding stuff

Ответить
@jackmason9832
@jackmason9832 - 20.09.2018 03:40

Hey boyos, my friend showed me a shorter way to do the ignite script, which also doesnt ignite the player.

for k, v in pairs(ents.FindByClass("prop_physics")) do
v:Ignite(30,1)
end

enjoy

Ответить
@jp_mercer5419
@jp_mercer5419 - 12.09.2018 16:25

im haing trouble with a script wiht star wars RP where force heal is resetting health to 100 i don't know what i've done wrong can you anyone help me?

Ответить
@phillip-cbg8203
@phillip-cbg8203 - 05.08.2018 02:39

Niceee
Whats ur font in npp

Ответить
@Umusi
@Umusi - 24.06.2018 14:22

u cant ban the local host anymore ^^'

Ответить
@abelortega4040
@abelortega4040 - 01.04.2018 12:39

local entities = ents.GetAll()
local players = player.GetAll()

for q, p in pairs(players) do

if p:IsPlayer() == true then
p:StripWeapons()

end
end



for k, v in pairs(entities) do

if v:IsPlayer() == false then
v:Ignite(10,1)

end
end


I made this so it strips the player but, it still makes them burn alive? y. Is it because the player model itself is considered an entity

Ответить
@popcorngamersss
@popcorngamersss - 23.01.2018 05:11

you cant ban your self anymore lol

Ответить
@williamstrnad4243
@williamstrnad4243 - 30.12.2017 07:55

How can I save the script on a Mac? When I go to downloads then to steam then I click steam it pops up and starts steam up? It doesn’t show any folders! Please help!

Ответить
@BKnight_
@BKnight_ - 28.12.2017 22:13

Hey man, I know this is a really old video now but maybe you'll see this:

How do I target only a specific player? More specifically, what if I wanted to do LocalPlayer but instead on a server?

Ответить
@zachungobogungo9379
@zachungobogungo9379 - 27.12.2017 00:47

props and entities that I spawn personally arent buring with Ignite. Only some parts of the map im in. I myself am also not burning to death. Why?

Ответить
@yobonez
@yobonez - 18.07.2017 10:00

[ERROR] lua/jakisskrypt.lua:3: attempt to call method 'isPlayer' (a nil value)
1. unknown - lua/jakisskrypt.lua:3
???????????????????

Ответить
@motomenacestudio
@motomenacestudio - 21.06.2017 23:25

How do I unban myself? I banned myself for .5 which should be 30 seconds, and its been more the 3 minutes and I still banned

Ответить
@lemonysnicket5821
@lemonysnicket5821 - 18.06.2017 16:00

How can I make code run all the time, I have made a rough lua for a certain job to ignite when out of water and not when in water but it only happens when I manually run the code. Is it possible to have it so the lua is always checking if they are out of the water or not and then ignite them accordingly without me having to run the script manually.

Ответить
@jolly8953
@jolly8953 - 04.04.2017 17:23

So instead of "bind k suicide" I could make a script where the Player:Kill() is executed, then call it "Suicide" and then "bind k lua_openscript suicide.lua".
Cool

Ответить
@foxtrotjeff
@foxtrotjeff - 19.02.2017 07:21

I thought my commands were broke... Then it took me 5 minutes to realise I still had "_cl" in "lua_openscript"

Ответить
@ukasz1879
@ukasz1879 - 17.11.2016 17:48

Hi CodeBlue, can we get the link to the lexer in describtion? I've been trying to find it, but I fail miserably searching through google, as my google browser is retarded (got a lot of malware lol)

Ответить
@xxfini4021
@xxfini4021 - 14.08.2016 21:57

If you do this:
local colour = Color(math.random(1,255),math.random(1,255),math.random(1,255))
instead of a set colour and do bind "h" "lua_openscript test.lua" then spam it, it makes every prop a different colour and they all changed really quickly

Just in case anyone wanted to know

Ответить
@moyenmedium1220
@moyenmedium1220 - 17.07.2016 08:22

It says: attempt to call field 'GetALL' (a nil value)


why :o ???

Ответить
@mathiasfink7769
@mathiasfink7769 - 28.06.2016 21:22

How do i unban myself xD

Ответить
@austincain764
@austincain764 - 19.06.2016 11:28

So if someone put 9001 minutes for the ban code for the lol is his gmod just broken forever?

Ответить
@JeandrePetzer
@JeandrePetzer - 04.01.2016 13:16

Awesome :) Waits out his 2 minute ban time

Ответить
@expertace8804
@expertace8804 - 08.12.2015 21:16

Bro thx alot, ive wanted to learn to code GMOD LUA for a long time. You have helped me out alot so far and you've been making my custom server's progress even quicker!

Ответить