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.
Look at the PlayerSelectSpawn hook, here’s an example of a “complete” spawn system: https://dl.dropboxusercontent.com/u/26074909/tutoring/_systems/playerselectspawn_system.lua.html
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 ): http://forum.facepunch.com/showthread.php?t=1337945
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… ): http://forum.facepunch.com/showthread.php?t=1411111
OLD Problems and Solutions thread ( contains a massive amount of useful data ): http://forum.facepunch.com/showthread.php?t=1348923
Garry’s Mod Wiki: http://wiki.garrysmod.com/page/Main_Page
Old Garry’s Mod Wiki ( Contains a lot of useful information; some content may not work without modification within GM13 ): http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index4875.html
DarkRP Help Thread ( ALL DarkRP Questions go here ): http://forum.facepunch.com/showthread.php?t=1249475
DarkRP Wiki ( Most questions can be answered here ): http://wiki.darkrp.com/index.php/Main_Page
Creating Jobs in DarkRP: http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Creating Shipments in DarkRP: http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields
Looking to HIRE a coder? Read this: http://forum.facepunch.com/showthread.php?t=1257110 and visit http://www.coderhire.com
Coderhire Thread: http://forum.facepunch.com/showthread.php?t=1281665
Facepunch Style Fixer for GreaseMonkey: https://userstyles.org/styles/65192/facepunch-fixer
Or the updated Faceraper: http://www.facepunch.com/showthread.php?t=1314761
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