-
Member
Wondering the difference between these two code that does the same thing.
Hi everyone,
I'm learning how to code lately and came across these two code which I THINK is doing exactly the same thing?
Hud.GetPlugin<OriginalSkillBarPlugin>().pluginName = false;
Hud.TogglePlugin<pluginName>(false);
I know that these two disables specific plugin. But are there any differences? Thanks in advance!
-
Legendary
How will they do the same if one contains the name of the OriginalSkillBarPlugin plugin and the other does not make any reference to it? :) I answered you in the other post
-
Post Thanks / Like - 1 Thanks
gksgudtjr (1 members gave Thanks to RNN for this useful post)
-
Member
Hey RNN, I love your plugins and using a couple of them at the moment =) Thanks for the answer! as regarding to your "other post" nothing popped up saying that someone replied to my post so I'm not sure which one you're referring =/ I've been posting here and there with different questions so can you link me the post ?? =) Thanks!
-
Legendary
-
Post Thanks / Like - 1 Thanks
gksgudtjr (1 members gave Thanks to RNN for this useful post)
-
Member
Perfect! =) Thanks. Also, I've replied to your other post and would love to get an answer from you =)
https://www.ownedcore.com/forums/dia...ml#post4070737 ([V9.0] [INTERNATIONAL] [RNN] Icount)