'LinKin Posted April 28, 2015 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? Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
Anubhav Posted April 28, 2015 Posted April 28, 2015 triggerServerEvent, there is no other way without element data or triggerServerEvent. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Walid Posted April 28, 2015 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. Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
'LinKin Posted April 28, 2015 Author 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.. Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
MTA Team botder Posted April 28, 2015 MTA Team Posted April 28, 2015 http://bugs.multitheftauto.com/view.php?id=8828 Take this bug into account when dealing with latent events. GitHub: Debug Console • MTA-Discord Relay Scripting: How to draw a line chart with DirectX functions? • Doppler Effect in MTA • Get the client's FPS • Customizable Blur Shader
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