• Very small question
    2 replies, posted
[CODE] concommand.Add("/pm", function( ply, cmd, args ) chat.AddText(Color(0,0,0,0), "Sent") local id = args[1] local msg = args[2] RunConsoleCommand("say", "/pm" .. id .. msg) net.SendToServer() end );[/CODE] if i do for example: /pm somename hello the input will be /pmsomenamehello How can i make spaces so the input will result in /pm somename hello
[code] RunConsoleCommand("say", "/pm " .. id .. " " .. msg)[/code]
[QUOTE=code_gs;45396683][code] RunConsoleCommand("say", "/pm " .. id .. " " .. msg)[/code][/QUOTE] Thanks
Sorry, you need to Log In to post a reply to this thread.