Jump to content

Vanish module

Pending 0.23.4313

IIIaKa
SwiftCoyote

Posted (edited)

If I may add a question about vanish. Turrets and HBHF sensors can see me when vanished. Is there a way prevent them from seeing me?

Update - They dont see me today, odd.

Edited by SwiftCoyote
  • Like 1
IIIaKa

Posted

No, cause I didnt get answer to my question...

  • Like 1
IIIaKa

Posted

11 hours ago, Raul-Sorin Sorban said:

Hey there, I know that it's been a minute. Are hooks for vanishing/unvanishing still needed? There's none currently.

https://github.com/CarbonCommunity/Carbon.Modules/blob/develop/src/VanishModule/VanishModule.cs

Hello! It would be nice to have the ability to track the disappearance and appearance of a player through the vanish module from Carbon. Should I create a PR, or will you add it yourself without one? Thank you.

https://codefling.com/files/support/11373-carbon-vanish-modul/

  • Administrator
Raul-Sorin Sorban

Posted

4 hours ago, IIIaKa said:

Hello! It would be nice to have the ability to track the disappearance and appearance of a player through the vanish module from Carbon. Should I create a PR, or will you add it yourself without one? Thank you.

https://codefling.com/files/support/11373-carbon-vanish-modul/

Hey! I can add it myself, I'll name them "OnCarbonVanished" and "OnCarbonUnvanished" just to avoid confusion with other plugin hooks or the new Oxide hooks.

  • Love 1
IIIaKa

Posted (edited)

22 minutes ago, Raul-Sorin Sorban said:

Hey! I can add it myself, I'll name them "OnCarbonVanished" and "OnCarbonUnvanished" just to avoid confusion with other plugin hooks or the new Oxide hooks.

I will be grateful, thank you!

Will BasePlayer be one of the arguments?

void OnCarbonVanished(BasePlayer player)
{
	
}
void OnCarbonUnvanished(BasePlayer player)
{
	
}

 

Edited by IIIaKa
IIIaKa

Posted (edited)

@Raul-Sorin Sorban
Hello, for some reason, when switching vanish, the hooks OnCarbonVanished and OnCarbonUnvanished are not being triggered.

HMPX9e3.png

Edited by IIIaKa
IIIaKa

Posted (edited)

On 1/25/2025 at 10:46 PM, IIIaKa said:

 

@Raul-Sorin Sorban
Hello, for some reason, when switching vanish, the hooks OnCarbonVanished and OnCarbonUnvanished are not being triggered.

HMPX9e3.png

I checked again today and it seems to be working now. I think my issue is resolved, so the support ticket can be closed. Thanks!

Edited by IIIaKa
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.