• DFrame
    4 replies, posted
How can i make a DFrame open when you have joined the server and when you have died, whith the option to respawn or disconect?
Hooks. [url]http://wiki.garrysmod.com/page/Category:GM_Hooks[/url]
[QUOTE=Netheous;47373321]Hooks. [url]http://wiki.garrysmod.com/page/Category:GM_Hooks[/url][/QUOTE] Thats a nice list of hooks but thats not help... :/
Use the Net Library - it's pretty simple once you get the hang of it. The Initial Spawn thing I did in my MOTD, which may give you a better idea on how to do it: [url]https://github.com/NiandraL/NiandraMOTD/blob/master/NiandraMOTD/lua/autorun/server/sv_niandramotd.lua[/url]
[QUOTE=NiandraLades;47373559]Use the Net Library - it's pretty simple once you get the hang of it. The Initial Spawn thing I did in my MOTD, which may give you a better idea on how to do it: [url]https://github.com/NiandraL/NiandraMOTD/blob/master/NiandraMOTD/lua/autorun/server/sv_niandramotd.lua[/url][/QUOTE] InitPostEntity on the client also works. It happens around the same time that PlayerInitialSpawn happens on the server, in my experience. That way you don't need to network anything.
Sorry, you need to Log In to post a reply to this thread.