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 altv-inject user API #4

Open
xxshady opened this issue Aug 4, 2022 · 1 comment
Open

Add altv-inject user API #4

xxshady opened this issue Aug 4, 2022 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@xxshady
Copy link
Owner

xxshady commented Aug 4, 2022

Add api to the altv code to trigger the connection of already connected players during the start of the resource to connect them by user code decision.

Something like this

import { triggerPlayersConnect } from 'altv-esbuild'

function initDatabase() {
  // ... some database async shit
  triggerPlayersConnect()
}
@xxshady xxshady added the enhancement New feature or request label Aug 4, 2022
@xxshady xxshady changed the title Add reconnectPlayers altv-inject API Add altv-inject user API Aug 4, 2022
@xxshady
Copy link
Owner Author

xxshady commented Jan 7, 2023

Is it really needed?

@xxshady xxshady added the question Further information is requested label Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant