General > Developers Corner
Trying to make a command to connect to a server?
Zmaster:
I haven't used it in a while, but I had the same issue you're having with the CAN_EXECUTE thing
I was able to do it by using this code server side:
ply:SendLua( "LocalPlayer():ConCommand( 'connect 123.456.789:27015' ) " )
Aaron113:
--- Quote from: allu finally joined fnatic!!! on July 12, 2015, 05:38:46 AM ---I tried this however it said "FCVAR_SERVER_CAN_EXECUTE prevented server running command: connect" in my console. The connect command is apparently not allowed.
--- End quote ---
odd, I know there is a way to do it.
Navigation
[0] Message Index
[*] Previous page
Go to full version