Jump to content

"TimesPlayed" and "LastTimePlayed" don't work.


koragg

Recommended Posts

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

Link to comment
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.

Link to comment
  • 4 weeks later...

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...