How do you spawn weapons from the console?

Solution 1:

Short answer: extensive modding and customization, and a server that can handle all of that.

Personally, I haven't experimented with this, but there is a tutorial that explains how it was done. Looks very interesting but not too difficult, however I don't know how this would affect VAC bans and such, so use at your own risk!