• Weird issues with removing entities
    4 replies, posted
Sometimes when removing an entity right after it is spawned or with a slight delay, it will cause the client to still have that model around, while the server already deleted it. Some clients then see the floating entity model, even tho it is not really there. Is this normal? Should there be a bigger delay for removing entities after they are right spawned. Just to mention: I am removing them and instantly spawning a new entity in the same spot.
I'm doing something very similar. I have a client prop that I turn into a real prop when clicked. I instantly remove the client prop and replace it with the real one. I simply use :Remove() and it works fine for me. You could always loop while checking if the entity is valid and keep removing it until its removed, to guarantee the remove was successful.
It is a serverside prop, from the beginning on.
There's your problem. A client's ping is a measure of how long it takes (in milisenconds) for the server to communicate with the client. That means if someone has 300 ping, then when you remove the entity on the server, it will 0.3 seconds for that person to notice the change.
I already thought of that, but there is no other way for me to do this sadly.
Sorry, you need to Log In to post a reply to this thread.