Change default spawn health on Garry's mod server?
Example: You spawn with 500 health when you join AND after you die, you come back alive "STILL" with 500?
It's been a while since I've used Lua in Garry's Mod so this is probably gonna be a bit rusty. You're gonna need something like
[lua]
function GM:PlayerSpawn( ply )
ply:SetHealth(500)
end
[/lua]
[QUOTE=djjkxbox360;44572843]It's been a while since I've used Lua in Garry's Mod so this is probably gonna be a bit rusty. You're gonna need something like
[lua]
function GM:PlayerSpawn( ply )
ply:SetHealth(500)
end
[/lua][/QUOTE]
Where would you place this code?
Sorry, you need to Log In to post a reply to this thread.