• Run ULX command with a function??
    3 replies, posted
I am wanting it so when I press ENTER in a DTextEntry it submits what is written to admins using ulx asay but how would I make it run the command. I know how to make it use what is submitted in the form.
All ULX commands have to be ran on server side so you'll have to use network strings. [url]http://wiki.garrysmod.com/page/util/AddNetworkString[/url]
[QUOTE=chikkenslayer;51096947]All ULX commands have to be ran on server side so you'll have to use network strings. [url]http://wiki.garrysmod.com/page/util/AddNetworkString[/url][/QUOTE] No. No need of networking something. You can use for example: [CODE]RunConsoleCommand(“ulx“, “asay“, “funny message“)[/CODE] This would execute the Command.
[QUOTE=markusmarkusz;51098074]No. No need of networking something. You can use for example: [CODE]RunConsoleCommand(“ulx“, “asay“, “funny message“)[/CODE] This would execute the Command.[/QUOTE] Thanks will try this now.
Sorry, you need to Log In to post a reply to this thread.