How would I make a spawnmenu with the same GUI as the default, but with different code? Previous thread:[url]http://facepunch.com/showthread.php?t=1430022[/url]
-snip- :yarr:
[QUOTE=RonanZer0;46203201]That would (probably) take thousands of lines...[/QUOTE]it doesn't have to be very different from the original spawnmenu code, I just want to be able to use the spawnmenu on gamemodes that don't allow it for my client only on my dedicated server.
Derive the gamemode from Sandbox and you have the spawnmenu.
Problem solved.
That will work on ttt? And if it does will it work for my client only on my server?
[QUOTE=Gleir;46204036]That will work on ttt? And if it does will it work for my client only on my server?[/QUOTE]
Why would you need that for TTT?
and it's a serverside thing, not clientside. Although you can force only a specific group to have access to it.
I want it to spawn props and weapons on my ttt server, how would I make groups and force one to have spawnmenu access?
Get ULX for groups.
Make some commands that have the player use these functions:
- [url=http://wiki.garrysmod.com/page/Player/Give]Player:Give()[/url]
- [url=http://wiki.garrysmod.com/page/ents/Create]ents.Create("prop_physics")[/url]
Okay, but I have another question, could I just make ttt derive from sandbox, so everyone could have it it, then I would disable spawning with ULX?
And if it works the way I am thinking, would I have to to derive from sandbox on my client and the server? And is that all I have to do, derive from sandbox, or would I have to do any extra things?
Sorry, you need to Log In to post a reply to this thread.