make a script

[lua]concommand.Add( md_advisor, function ()

function player:SetModel( “models/Advisor.mdl” )

for k, v in SortedPairs(ToggleCmds) do

	print(k)

	end

end

end [/lua]

Could someone help me with this :3

[lua]concommand.Add( “md_advisor”, function (pl , cmd , args)
pl:SetModel( “models/Advisor.mdl” )
for k, v in SortedPairs(ToggleCmds) do
print(k)
end
end )
[/lua]

Thanks :smiley: