Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Sys_IsLANAddress as Plugin_IsLANAddress #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sznorbert07
Copy link
Contributor

No description provided.

@K-Faktor
Copy link
Contributor

K-Faktor commented May 2, 2024

Describe in detail what it gives?

@sznorbert07
Copy link
Contributor Author

Describe in detail what it gives?

It gives you the ability to check if a data/event is coming from the LAN. You can use it for example: in OnPlayerConnect or in OnUdpNetEvent or anywhere else where you get a netadr_t type address.
One use case where it is useful is if you have a 3rd party application that communicates using the UDP protocol.

Or other use case if you want to restrict something for players connected from LAN (using OnPlayerConnect event).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants