Placing weapons on a map without using SDK?

Is it possible to place weapons on maps without using SDK & manually placing weapons?
If so, how would this be done?


It is perfectly possible. All you need to do is call ents.Create with the weapon’s class i.e. weapon_357 and then set the position and angle, and if you want to, the movetype.

[lua]local weapon1 = ents.Create(“weapon_smg1”)
weapon1:SetPos(<map position>)
– this line isn’t needed if you don’t want to change the movetype.
weapon1:SetMoveType(<movetype enum>)
Have a look at entity/weapon classes on the wiki for more options.

Hook that to this:
Make a file called <something>.lua and place it in lua/autorun/server/