Would you mind explaining to me what the \0 is about before bind? Could I not just do the \0bind with my code? I'll show you what I mean.
Aimboton = vgui.Create("DBinder")
Aimboton:SetParent( Frame1 )
Aimboton:SetText( "Aim assist on." )
Aimboton:SetPos(10, 60)
Aimboton:SetSize( 110, 20 )
Aimboton:GetValue()
local lockon = Aimbiton:GetValue()
RunConsoleCommand("\0bind" .. lockon .. " +aimlock")
chat.AddText(Color(100,255,100), "Aimbot lock on key bound to " .. lockon)
end
I'd like to be able to understand how the \0 thing works rather than just pasting it and learning nothing, also possibly how I can improve the above code, as you can probably tell by now I'm quite inexperienced. Thanks in advance!