Garry's Mod

Garry's Mod

[E2] PlyCore
51 Comments
alliort 1 Jun @ 8:53am 
IM MR RINGADING I MAKE YOUR HEART BELLS SING
GalaxyGaming 3 Apr @ 4:40am 
keeps spamming warnings about:

[wiremod_git] Warning: Use of variadic parameter with ExtPP is not recommended and deprecated. Instead use ...<name> (which passes a table) or the `args` variable (at line 541) @entities/gmod_wire_expression2/core/custom/playercore.lua
Sir Papate  [author] 1 Jun, 2024 @ 6:26am 
@[YK] Nathan yes if you have UXL, you can restrict permission to a function by rank. Otherwise, if you know a little bit of Lua, there is a hook called before each function so you can return false to prevent the action.
ModestShoducks 29 May, 2024 @ 12:46am 
thx now most dupes with wiremod work!
Valk 18 Feb, 2024 @ 10:34pm 
Can the founder of a server "delete" a function from his server ?
[Sk$Bh]Trick or treat KID! 5 Nov, 2023 @ 1:45am 
[wiremod_git] Warning: Use of variadic parameter with ExtPP is not recommended and deprecated. Instead use ...<name> (which passes a table) or the `args` variable (at line 541) @entities/gmod_wire_expression2/core/custom/playercore.lua
Sanders 10 Aug, 2023 @ 1:34am 
so using this R:plyFreeze(1) if an input is 1 works but doing R:plyFreeze(0) they are still frozen why?
Sllake560[FR][Random] 6 Mar, 2023 @ 12:46pm 
Possible de se give des grade ulx avec le plycore ?
Si oui possible de me dire la comande ?
SuperMonocle 25 Mar, 2022 @ 3:02pm 
I'm trying to make a thing that highlights the last player that died - - it's only hightlighting me! I've spent hours trying to get it to work but it just isn't working!

Am I doing something wrong that I'm not noticing?
nekoz.exe 12 Feb, 2022 @ 6:35am 
Hi, how do i do things to my friends i wanna freeze him with the e2 playercore but don't know how to do thing on him
Advanced Plant 11 Sep, 2021 @ 10:00am 
Hey, thank you for making these. They add incredibly useful functions to E2, and make a-lot more possible.
Surge 4 Jul, 2021 @ 11:21am 
is this core working?
80Hg 3 Apr, 2019 @ 4:06am 
@FirePenguin Do you have an entity to apply it to?
If you want to apply it to the owner of the gate it'd go like this for example
E = owner()
if(A) {E:plyApplyForce(vec(1000,1000,1000))}
FirePenguin 16 Mar, 2019 @ 8:37am 
"No such function: plyApplyForce(V)...."

None of the functions seem to work, even on my own server with the addon enabled. Am I missing something?
garlic ginkle heim 28 Mar, 2018 @ 1:57pm 
Is there a way to use aimPos with applyPlayerForce?
Ben66 1 Nov, 2017 @ 3:01am 
La doc est pas terrible sur l'e2 helper :p
Ryohei Arisu 13 Oct, 2017 @ 10:10am 
i have a ULX server
NubTheFatMan 22 Sep, 2017 @ 5:28pm 
Rip
NubTheFatMan 22 Sep, 2017 @ 5:28pm 
@Sir Papate can't you just go into ULX and manage permission for the group? When I was viewing ULX, I noticed a tab for the core. It does seem to restrict so what is the point of this coding?
[code]
hook.Add("PlyCoreCommand", "CommandRestriction", function(ply, _, cmd)
if not ply:IsAdmin() and (cmd == "god" or cmd == "disablenoclip") then
return true
end
end)
[/code]
StonerRabbit 16 Sep, 2017 @ 3:18am 
@Sir Papate
Where would I put the
hook.Add("PlyCoreCommand", "CommandRestriction", function(ply, _, cmd)
if not ply:IsAdmin() and (cmd == "god" or cmd == "disablenoclip") then
return true
end
end)
StonerRabbit 15 Sep, 2017 @ 6:07pm 
Still, Would be nice if there was a ulx menu extension that came with it.
Sir Papate  [author] 15 Sep, 2017 @ 4:06am 
If you have ULX on your server, you can block specific command for a group. If you dont have ULX, you can use the hook PlyCoreCommand like:
[code]
hook.Add("PlyCoreCommand", "CommandRestriction", function(ply, _, cmd)
if not ply:IsAdmin() and (cmd == "god" or cmd == "disablenoclip") then
return true
end
end)
[/code]
StonerRabbit 14 Sep, 2017 @ 4:23pm 
@sir Papate, Can you make it so that certain parts such as noclip or the godmode can be disabled by administrators?
Fasteroid 17 Jun, 2017 @ 8:21pm 
ply:ip()
I'd love this for admin purposes
L4 3 Apr, 2017 @ 12:15am 
Hey, do you think that you could add ply:ignite(), ply:extinguish() as well as functions to set player's max health?
Cloud Ninja 26 Nov, 2016 @ 9:57pm 
So how do i use ULX to restrict stuff?
Codingale 18 Nov, 2016 @ 8:14pm 
I think it's because the server I'm an admin on doesn't have permissions setup in ULX. But my IsAdmin should still make it work no?
Sir Papate  [author] 17 Nov, 2016 @ 4:53am 
I don't know why it doesn't work every time. I'll check if I can fix something.
Codingale 16 Nov, 2016 @ 8:40pm 
I noticed that Ent:sendMessageColor(array) doesn't always work for all players, I think I've narrowed it down to not having PP for them, but admins should bypass that correct? I looked at the code for that part and it's a bit of a mess.
Codingale 16 Nov, 2016 @ 8:39pm 
@TuSn you want this, owner():sendMessageColor(array(vec(0,255,0),"String"))
JDot Pork HOODVISIONAIRY 27 Sep, 2016 @ 11:51am 
how does the new sendMessageColor work? Am I doing something wrong or is it not working? like, i was testing this
owner():sendMessageColor(vec(0,255,0))
owner():sendMessageCenter("test")
but it's still white
Sir Papate  [author] 20 Aug, 2016 @ 5:12am 
@Mercynary Yes, if you are an admin or an admin has disabled the protection.
Wolf's rain 13 Aug, 2016 @ 4:55am 
Is there any way to affect players that are not whitelisted? Like, to build a minge shield
Sir Papate  [author] 2 Aug, 2016 @ 1:00pm 
Yes it work. Why you say that?
RevilO 28 Jul, 2016 @ 2:44am 
This doenst work
Sir Papate  [author] 18 Jul, 2016 @ 5:24am 
@Hastie the doomed space marine
The armor limit isn't made by me, it's by the engine
Sir Papate  [author] 18 Jul, 2016 @ 5:21am 
Mister Bean I think that can cause some problems :/
Mister Bean 21 Mar, 2016 @ 12:52pm 
add entity:plyFreeze(number) :p
Hastie Quad 26 Jan, 2016 @ 4:58pm 
How is this posible to set armor above 255?
dogontheblog 16 Aug, 2015 @ 12:53am 
How do i use the applyforce of it? im trying to make my character leap towards my cursor, but i cant get it to work :/
noah 2 Aug, 2015 @ 12:55pm 
@Popate omg I love you so much thanks dode
Sir Papate  [author] 2 Aug, 2015 @ 12:44pm 
Check if you have enable the extension with the command "wire_expression2_extension_enable"
noah 2 Aug, 2015 @ 11:49am 
none of the commands are there
xX_Xx 26 Jan, 2015 @ 3:47am 
@NomadX I can fix the lua for you and put it on dropbox
Brocephus 30 Nov, 2014 @ 1:33pm 
Not to be picky... but lastRespawnedPalyer() should really say lastRespawnedPlayer() ..... for some reason it bothers me to see misspelled code in lua.... I spent all those years being taught spelling of words ( not that I am an expert speller of every word ), just to have to intentionally start spelling Player wrong to get E2 code to work... Maybe next update you could fix that... Or I could just go through the lua and fix it myself... would be quicker... Regardless... Thanks for the hard work you put into the extension.. I do appreciate and use this on our server...
M3RKBOSS 17 Aug, 2014 @ 3:08am 
awesome
Tung Tung Tung Sahur 6 Feb, 2014 @ 10:45pm 
thanks !
Senny 29 Jan, 2014 @ 7:32am 
Спасибо!
Kipetchi 26 Jan, 2014 @ 2:20pm 
GG
Sir Papate  [author] 15 Jan, 2014 @ 5:36pm 
No problem! :happymeat: