Jump to content

Help with "Next Map"


Reflex#

Recommended Posts

Posted

Hi all :)

I need help..

You see on the screenshot,in the Next Map writing Random.

How to do that next map choose automatically?

9d8e80b4d032.jpg

Scripting in lua

Posted

that Next Map ist's show the next map set it from admin panel

if you check in the admin panel the race resource there are some option's whit the map you can disable the map voting and on the map end the server random a map but it will not show in the "Next Map" bk the server chose the map only on the current map end

so you need to edit the rece resource to random the next map on the curent map start (not on end) and then you edit that "Next Map" to show that map what the race chose for the next map

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted

The admin panel executes a command called 'nextmap', you have to add a event inside the function of that command which will trigger to client side using triggerClientEvent to update the 'Next Map' text.

The function is on: 'race/racevoting_server.lua' search for 'nextmap'.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
The admin panel executes a command called 'nextmap', you have to add a event inside the function of that command which will trigger to client side using triggerClientEvent to update the 'Next Map' text.

The function is on: 'race/racevoting_server.lua' search for 'nextmap'.

Ok...but can you show me this?

Sorry for my stupid's in scripting

Scripting in lua

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