Jump to content

Send client-side data on quit


srslyyyy

Recommended Posts

  • Scripting Moderators

Hey. I need to send timer details from client-side to server-side. (Need to save it, and then load if player join again.)

What should i do? 

1. There's a way to send triggerServerEvent within onClientPlayerQuit? I've have tested it, but seems like this wouldn't work.

2. Sync timer in client and server side? Probably not best way so far, but i am not sure.

3. Or there's other, better way?

Edited by majqq
Link to comment
  • Scripting Moderators
2 hours ago, NX_CI said:

How you should save it ?
i think you need to save it by the player serial
because you could get the details by player serial if he was joined the server.
Or ! you may use an account data.
How you want to save it?

SQLite

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...