• RunConsoleCommand help
    3 replies, posted
Sorry for the bother with yet another post. I have a right click scoreboard menu with ulx commands on it. However, there is 1 command I'd like to add to that scoreboard which is not ulx. In order for me to make it work I tried doing the following: RunConsoleCommand( "say", "!commandhere", ply:Nick() ) But in-game this is what returns: !commandhere" "<target ply name here> I've no idea on how to remove the unnecessary " " If that were to be removed the command would work fine. Thank you for taking the time to read!
Probably RunConsoleCommand( "say", "!commandhere "..ply:Nick() ) is what you are looking for
You should probably add a concommand to call whatever function !commandhere calls, no need to use the chat for this
Thank you for the suggestion, I will do just that!
Sorry, you need to Log In to post a reply to this thread.