sirpapate / playercore

MIT License
1 stars 4 forks source link

Returning false in PlyCoreCommand sometimes does not work. #4

Open Earu opened 1 month ago

Earu commented 1 month ago

Steps to replicate:

image

I did check our hook, its returning false when it should, that isolates the problem to player core.

hook.Add("PlyCoreCommand", "test", function(ply, target, command)
    return false
end)
Ultimum-Aeternum commented 1 month ago

That was the code that worked without killing e2 anyway:

@name testtest

owner():plySetPos(entity():pos())