Jump to content
RAGE Multiplayer Community

Recommended Posts

Posted (edited)

After dying, the server does not come to life until it is restarts. I browsed the Wiki but couldn't find anything. How do I revive someone? (JS)

Edited by yigitbakir
Link to post
Share on other sites
Posted (edited)

use player.spawn on playerDeath event

 

mp.events.add('playerDeath', (player, reason, killer) => {
    setTimeout(() => {
        player.spawn(new mp.Vector3(-425.517, 1123.620, 325.8544))
    }, 3000)
})

 

Edited by [BC]VACEDA[NWD]
Link to post
Share on other sites

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