So I forgot to set unload on the new version of admin radar im working on. So the component is still attached to my character and i cant seem to destroy the gameobject its running as
Trouble destroying component attached to player
Discussion in 'Rust Development' started by Austinv900, Sep 12, 2016.
-
You could restart the server or you loop through all components attached to the player and delete the one you want to delete by name. Basically the type of the component you created is no longer the same because your plugin changed.
-
hmm Thanks
[DOUBLEPOST=1473722226][/DOUBLEPOST]Server Restart did work -
Lol So I guess
Doesn't completely get rid of your playerCode:GameObject.Destroy(player);
