• Can you make maps run console commands?
    7 replies, posted
Im making a map for a community, and I want a room, wich when you press buttons, runs console commands, like connect "Insert Ip here" I made a trigger, but I can't find any way to run a output on the player. Help?
point_clientcommand In future, use one of the help megathreads
[QUOTE=IronPhoenix;35430913]point_clientcommand In future, use one of the help megathreads[/QUOTE] Thanks, closing. Edit: God dammit, how do you close threads?
[QUOTE=Wazbat;35430925]Thanks, closing. Edit: God dammit, how do you close threads?[/QUOTE] You don't. You either ask a mod to close, or let the thread die.
[QUOTE=IronPhoenix;35430944]You don't. You either ask a mod to close, or let the thread die.[/QUOTE] Double thanks.
I will say this however - point_clientcommand has been seriously dumbed down in terms of what can be run on a client. Things like forcing the player to connect to a server just isn't possible with point_clientcommand alone or without exploits, at least in my experience.
Can you still run Lua through an entity like you could in Gmod 9? You could probably write a script that sends them to the server you want that way and just have the button trigger that entity.
you can also use point_servercommand
Sorry, you need to Log In to post a reply to this thread.