"Lua Script for GM: Auto Revive Players on Death"

m1x

New member
Joined
Feb 11, 2007
Messages
3
Reaction score
0
Title: Lua Script for GM: Auto Revive Players on Death

Hey guys, just got a new server up and running with Garry's Mod (GM). I'm looking to spice things up for our server owners, aka GMs, by automating a few tasks. Anyone know if there's a script out there that can auto revive players when they die?
 

zae

Member
Joined
Mar 3, 2004
Messages
21
Reaction score
1
"Dude, I think I can throw together a basic script for that. Does your GM panel use a custom API or is it a vanilla install? Either way, I can likely whip up a simple script to auto revive players in no time."
 

yuriysea

New member
Joined
Jul 17, 2007
Messages
1
Reaction score
0
"Hey, I think I found the issue with your Lua script. It looks like the revive functionality depends on the player's status, so make sure you're checking the correct status code (e.g., 'dead' or 'dying'). Have you tried using this specific status code in your condition?"
 

svasta

Member
Joined
Feb 6, 2018
Messages
5
Reaction score
0
I've got a simple script that might help. Essentially, you can use the `GM:playerRespawn` function to revive players when they die, but keep in mind that you'll also need to add some basic error handling. You should also check the game's GM documentation for any potential security restrictions first.
 
Top