'LinKin Posted April 28, 2015 Share Posted April 28, 2015 Hello, I've a GUI Memo, of course client-side, where the player will type a maximum amount of 400 characters, then I need to store the text he wrote in a SQLite Database, thus, I need to send the text to the server in order to insert it into the database. Is triggerServerEvent enough for this? What's the best way to do it? Link to comment
Anubhav Posted April 28, 2015 Share Posted April 28, 2015 triggerServerEvent, there is no other way without element data or triggerServerEvent. Link to comment
Walid Posted April 28, 2015 Share Posted April 28, 2015 Hello,I've a GUI Memo, of course client-side, where the player will type a maximum amount of 400 characters, then I need to store the text he wrote in a SQLite Database, thus, I need to send the text to the server in order to insert it into the database. Is triggerServerEvent enough for this? What's the best way to do it? i think triggerServerEvent is engouh , for more maybe you can use triggerLatentServerEvent this function is the same as triggerServerEvent except the transmission rate of the data contained in the arguments can be limited and other network traffic is not blocked while the data is being transferred. Link to comment
'LinKin Posted April 28, 2015 Author Share Posted April 28, 2015 I think I will use latentEvent because the server might freeze for a little while due to the lengh of the text.. Link to comment
MTA Team botder Posted April 28, 2015 MTA Team Share Posted April 28, 2015 http://bugs.multitheftauto.com/view.php?id=8828 Take this bug into account when dealing with latent events. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now