This plugin automatically replaces all weapon spawns on any map with random weapons. Grenades are excluded. The list of weapons can be changed by modifying the WEAPONS_LIST array at the start of the script. By default all primary weapons are included.
How it works
At the start of the map, this plugin will find all weapon spawns by searching for weapon_* entities, saves their locations, and deletes them. Then, at the start of every round, the plugin will spawn a weapon into the saved locations.
Note that since creating weapons directly using weapon_* entities does not work anymore, this plugin spawns weapons using the fake client method, where it spawns a fake client, gives a weapon to it, and teleports it to the desired location on the map. This likely means that there has to be at least 1 free slot on the server for the plugin to work.
Features
Cvar- Randomize weapon spawns either at the start of the map or every round.
- Snap spawned weapons' angles to 90 degrees for a better look
mwr_randomize_every_round 0 Randomize weapons every round if enabled, otherwise randomize once at the start of the map.
mwr_snap_spawn_angles 1 Round spawned weapons' angles to the nearest 90 degrees for a more uniform look. Takes effect after a map change.
mwr_debug 0
Download
Source