• Ghostentity issue
    10 replies, posted
Hi guys, I got a problem with ghost entity. For example when I choose lamp tool then created ghost entity of lamp. So this step is OK. https://files.facepunch.com/forum/upload/250152/79cfc283-1479-45ef-81a9-be064d8d9e16/image.png But when I switch my tool gun to other weapon ghost entity of lamp doesn't remove. But it removed when I switch tool. https://files.facepunch.com/forum/upload/250152/3effadf0-7949-4b2c-8ed2-1f8012f07ec0/image.png
You need to add self:ClearObjects() or self:ReleaseGhostEntity() Holster fuction
It's already there.
Show you TOOL code
garrysmod/garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool.. ...
I can't see that issue on my "2 Player" mode. Are you testing in singleplayer?
This is a known bug. Nothing can be done about this.
So guys, thanks for everyone who was here in this hard to me minutes. I fix this the problem was in my the best ever HUD
Can you show how did you solve the issue? This will help others if they have same issue
I'm in process now, this bug somehow coming from my custom weapon selector. I think it's cause of Holster() doesn't work properly or somewhat else.
Sorry, you need to Log In to post a reply to this thread.