Jump to content

Removed


ProHunter

Recommended Posts

Posted (edited)

Removed

Edited by Guest

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Scripter: [30%]

Mapper: [50%]

Race DM Maps Skill: [90%]

- Some Of My Scripts:

- [Race] Top Time System: viewtopic.php?f=108&t=56789

- [Race] Hide Cars System: viewtopic.php?f=108&t=56788

- [Race\RPG] Radio System: viewtopic.php?f=108&t=56486

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Posted

If I'm right, it has been asked before, search on the scripting section.

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 (edited)

.

Edited by Guest

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Scripter: [30%]

Mapper: [50%]

Race DM Maps Skill: [90%]

- Some Of My Scripts:

- [Race] Top Time System: viewtopic.php?f=108&t=56789

- [Race] Hide Cars System: viewtopic.php?f=108&t=56788

- [Race\RPG] Radio System: viewtopic.php?f=108&t=56486

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Posted

There is no resource called ("Auto - B") , it's just a modified race resource copy

if you want to let the last player keep driving until he lose , follow this steps

1 - go into this path

\mods\deathmatch\resources\[gamemodes]\[race]\race\modes

2 - open destructionderby.lua for editing

3 - find this function DestructionDerby:onPlayerWasted and replace it with

function DestructionDerby:onPlayerWasted(player) 
    if isActivePlayer(player) then 
        self:handleFinishActivePlayer(player) 
        if getActivePlayerCount() <= 0 then 
            RaceMode.endMap() 
        else 
            TimerManager.createTimerFor("map",player):setTimer(clientCall, 2000, 1, player, 'Spectate.start', 'auto') 
        end 
    end 
    RaceMode.setPlayerIsFinished(player) 
    showBlipsAttachedTo(player, false) 
end 

4 - also find this function DestructionDerby:onPlayerQuit , replace it with

function DestructionDerby:onPlayerQuit(player) 
    if isActivePlayer(player) then 
        self:handleFinishActivePlayer(player) 
        if getActivePlayerCount() <= 0 then 
            RaceMode.endMap() 
        end 
    end 
end 

5 - save the file , done.

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