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

Add ncl_not_using_nextclient forward #2

Open
Xelson opened this issue Apr 28, 2024 · 3 comments
Open

Add ncl_not_using_nextclient forward #2

Xelson opened this issue Apr 28, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Xelson
Copy link
Contributor

Xelson commented Apr 28, 2024

Add new ncl_not_using_nextclient forward which ensures that player's client will not be able to pass verification and does not declare that it's nextclient as the opposite of ncl_client_api_ready forward

Use cases:

  • prevent non-nextclient users to join the server
  • logging player's connections
@Xelson Xelson added the enhancement New feature or request label Apr 28, 2024
@nrealz0r
Copy link

there is already this

  • if(ncl_is_next_client(id)) - when player is with nextlient
  • if(!ncl_is_next_client(id)) - when player is not with nextlient

there are diference between !
so you can use this for your own in plugin. no need add in API

@Psycrow101
Copy link
Contributor

@nrealz0r ncl_not_using_nextclient is a forward function, not a native function

@nrealz0r
Copy link

@Psycrow101 oh i didn't see..

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

No branches or pull requests

3 participants