Jump to content
  • 0

Next map


Daeron

Question

Posted

How can i put it like , next map doesn't start till everyone is dead ...

right now when there are 2 players , 1 dies , next map starts , but how can i put it like next map wont start till the 2nd player is dead too?

Recommended Posts

  • 0
Posted

ok, create a file in the mapcycler folder and call it script.lua and add this to it:

addEventHandler("onPlayerWasted",root,function() 
    if(getAlivePlayers()==1)then 
        triggerEvent("onRoundFinished",resourceRoot) 
    end 
end) 

  • 0
Posted
what ? lol ?

i dont have my own map , i want this for my server , not map

So, the next map starts when there's 2 players left???

It's either a script of the gamemode it's self.

  • 0
Posted

next map start when 1 player is alive and still driving -.-

i want to put it like next map doesnt start till every player is dead

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