ItsMods

Full Version: self Hide(); not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having trouble getting self Hide(); to work. I know it used to work but now when I use it in my spawn protection it won't work. I even made a very simple mod where all it did was hide the person for 10 seconds then show and print a message. The message worked, but I could still see the other people.
(07-25-2011, 19:26)DWM|Gdawg Wrote: [ -> ]I am having trouble getting self Hide(); to work. I know it used to work but now when I use it in my spawn protection it won't work. I even made a very simple mod where all it did was hide the person for 10 seconds then show and print a message. The message worked, but I could still see the other people.

When you say "I know it used to work", do you mean you managed to get it working on Black Ops? Cause idk if it works on Black Ops or not.
its working in black ops, at least it worked when i used it a few months ago
If it doesnt work, use self setModel("");, but Hide() should work.
(07-25-2011, 19:30)Madnesslink5 Wrote: [ -> ]
(07-25-2011, 19:26)DWM|Gdawg Wrote: [ -> ]I am having trouble getting self Hide(); to work. I know it used to work but now when I use it in my spawn protection it won't work. I even made a very simple mod where all it did was hide the person for 10 seconds then show and print a message. The message worked, but I could still see the other people.

When you say "I know it used to work", do you mean you managed to get it working on Black Ops? Cause idk if it works on Black Ops or not.

I mean a month or two ago I saw it work with the same code. I will try Yamato's idea.
If that does not work replace the self hide() with a command to print text to your screen to see if the code even gets executed at all.
(07-25-2011, 22:54)SuperNovaAO Wrote: [ -> ]If that does not work replace the self hide() with a command to print text to your screen to see if the code even gets executed at all.

I found the problem. I was having it hide on spawn but it can't when you are in the grace period. I added a wait and now it works fine. Thanks for the suggestions though.