Alexs Posted August 15, 2015 Posted August 15, 2015 Is there any size limit for fileWrite? How many characters can I write? How long can be the string that will be written? Developer @ MYVAL
Moderators IIYAMA Posted August 15, 2015 Moderators Posted August 15, 2015 afk, your limit is your HDD. And when you write too much characters per frame, you might crash(unless you enable fileFlush, which is for logging). The max string length is limited by your ram. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Alexs Posted August 15, 2015 Author Posted August 15, 2015 Some average amount to take into consideration? Developer @ MYVAL
ixjf Posted August 15, 2015 Posted August 15, 2015 You're very likely to never hit the limit. If you ever really do, you're doing something very very wrong - that is assuming MTA doesn't catch it first (which it most definitely does). I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
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