koragg Posted June 16, 2016 Posted June 16, 2016 Hello everyone. I have a problem with getting the two things written in title to work and idk how to fix this. I tried different resources and the problem isn't in them, it's in my race.zip (tried original one and they both work). So the "TimesPlayed" always show "Unknown" and the "LastTimePlayed" displays the current date and time, not when the map was last played. Example: I start "An Xmas Present" by FloW on 16.06.2016 at 17:36 and it says that the last time this map has been played is "on 16.06.2016 at 17:36". Xiti told me that the racevoting_server.lua is responsible for this but even after I tried a default racevoting_server.lua from original MTA resources there was still same problem. I'm using the following race.zip and can't change to stock one for script compatibility reasons : https://github.com/JarnoVgr/Mr.Green-MT ... %5Brace%5D
koragg Posted June 16, 2016 Author Posted June 16, 2016 Are you using the default resource without any mod? If you mean the resource which displays the mapinfo, then yes. I just edited the colors. This is it btw : https://community.multitheftauto.com/in ... ls&id=7124 I did try using stock race.zip and the "TimesPlayed" did show but as I said I can't stick with default MTA race.zip as a lot of scripts require the modded one. It'd be great if someone told me what to edit and in which file to fix this as I tried original racevoting_server.lua but was still bugged.
Et-win Posted July 14, 2016 Posted July 14, 2016 Without the code which has to store them (The times), we can't do anything.
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