Jump to content

Last Player


ChamPion

Recommended Posts

Posted

Hey All

I Made a New Race Server

And need last player play when 2nd player die

because map changing and 1st player can't play

need that script and thnx

Posted

First disable race vote manager in admin panel.

  
addEventHandler("onPlayerFinish", getRootElement(), 
function (rank) 
if rank ~= 2 then return end 
outputChatBox (getPlayerName(source).." finished as 2nd player alive", getRootElement(), 255, 255, 0, false ) 
cancelEvent() -- so the map won't change or simply edit your race resource if you know scripting 
-- do your stuff 
end ) 

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