• Respawning?
    5 replies, posted
Hello, I'm not sure this is a bug, or a setting, but when you kill yourself you spawn in the same place as when you killed your self. Is there a command or a setting for this? Thanks.
What game-mode? Look at the PlayerSelectSpawn hook, here's an example of a "complete" spawn system: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/_systems/playerselectspawn_system.lua.html[/url] Hey, welcome to FacePunch. This forum is for devs that need help working on things. Here are some resources to help you get started: ---------------------------------------------- General Learning Lua Help Thread ( Contains links to helpful topics, and websites ): [url]http://facepunch.com/showthread.php?t=1337945[/url] Problems that don't need their own thread ( All simple questions / quickies should go here, but please do not post a question here AND make a new topic.. ): [url]http://facepunch.com/showthread.php?t=1411111[/url] OLD Problems and Solutions thread ( contains a massive amount of useful data ): [url]http://facepunch.com/showthread.php?t=1348923[/url] Garry's Mod Wiki: [url]http://wiki.garrysmod.com/page/Main_Page[/url] Old Garry's Mod Wiki ( Contains a lot of useful information; some content may not work without modification within GM13 ): [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index4875.html[/url] DarkRP Help Thread ( [b]ALL[/b] DarkRP Questions go here ): [url]http://facepunch.com/showthread.php?t=1249475[/url] DarkRP Wiki ( Most questions can be answered here ): [url]http://wiki.darkrp.com/index.php/Main_Page[/url] Creating Jobs in DarkRP: [url]http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields[/url] Creating Shipments in DarkRP: [url]http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields[/url] Looking to [b]HIRE[/b] a coder? Read this: [url]http://facepunch.com/showthread.php?t=1257110[/url] and visit [url]http://www.coderhire.com[/url] Coderhire Thread: [url]http://facepunch.com/showthread.php?t=1281665[/url] Facepunch Style Fixer for GreaseMonkey: [url]https://userstyles.org/styles/65192/facepunch-fixer[/url] Or the updated Faceraper: [url]http://www.facepunch.com/showthread.php?t=1314761[/url] ----------------------------------------------
Thanks for that, so I need to create a script? and It's a DarkRP server.
DarkRP should already have a spawn system in place. They may know more in the DarkRP thread.
I'm pretty sure this is a setting in the DarkRP config. Try looking for GM.Config.strictsuicide and set it to false
^^Thanks!!
Sorry, you need to Log In to post a reply to this thread.