Jump to content

Command TheInput:...:Remove() doesn't work on dedicated server


PiotrKFtw
  • Closed

Hello, i typed the command (TheInput:GetWorldEntityUnderMouse():Remove()) in console while having the mouse at the entity (in my case ancient pseudoscience (altar?)) and it didn't got removed. Console logged "attempt to call a nil value". It only happens on dedicated server when the console is on Remote mode. 


Steps to Reproduce
I was playing with commands and when i wanted to remove entity, it didn't got removed.



User Feedback


20 hours ago, PeterA said:

Try this with remote
c_select():Remove()

Console says "attempt to index a nil value" and the entity don't get removed.

Share this comment


Link to comment
Share on other sites

I believe that happens when you've done a "local" command instead of a "remote" command, and there was nothing under your mouse cursor.

Share this comment


Link to comment
Share on other sites

17 hours ago, PeterA said:

I believe that happens when you've done a "local" command instead of a "remote" command, and there was nothing under your mouse cursor.

That was remote and ancient pseudoscience machine was under my cursor.

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...