Jump to content

Get nextmap name ?


novo

Recommended Posts

Well that's what random means.. you don't know the name of the map

When the current race ends, it will calculate the random map (based on stuff like least played or most played) and it will start it

So you can't know which one is the next one because the server only knows this right when the current map ends (If I'm not mistaken)

However, you can recreate a random nextmap "setter" from scratch that will simply calculate it sooner and this will do what you need, but it will require a lot of work

Link to comment

Nope, default race doesn't know which maps comes next. Like BinSlayer posted (he should know, he's managing one), when a map ends race checks the setting 'random maps' and either starts a vote or finds a new random map. Maybe the servers you are talking about changed there version.

So novo, if you want to get the nextmap name during a currently running map, you should create a script that already selects a next map when a new map starts. Store it in some variable and you can do with it whatever you want.

Link to comment
Uhm.. Anyways, thank you all.

If anybody knows the way to know nextmap name, please tell me.

Bye.

You will 99% not be given anything ready from scratch as people don't work for free (usually) .

You've been given ideas as to how to do this and we'll only help when you got some coding already going and it's failing.

Good luck

Link to comment

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