Sign in to follow this  
Daeron

Next map

Recommended Posts

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?

Share this post


Link to post

like What resource do you use to start the map, or vote for the next map?

Share this post


Link to post

where i got it ? it was in MTA folder when i downloaded MTA 1.3 lol

Share this post


Link to post

that didnt help , how can i put it so next map doesnt start till everyone dead??

Share this post


Link to post

What other resources are you using?

Something has to trigger the mapcycler to the next map.

Share this post


Link to post

im using the resources which came with MTA , i only added antiafk , modloader and FPS in Scoreboard

Share this post


Link to post

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) 

Share this post


Link to post

C'mon??? does anyone know how to do this ??? i need it for my server

Share this post


Link to post
Didn't work , any other ideas?

Did you add the file in the meta.xml:

<script src="script.lua" type="server" /> 

Share this post


Link to post
yes i did that , doesnt work

Can you post a screenshot of your mapcycler folder.

Share this post


Link to post

what ? lol ?

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

Share this post


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

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.