Try this, I made quick.
So when you have loaded this plugin, it set all weapons clip size to
100.
It not now reset back normal until you remove plugin and reboot server.
(I was lazy, I made this quick)
Then set rest ammo using cvars what I posted earlier
#4
*edit
Included
ctx extension+gamedata, plugin source code and plugin.
credits to
Swixel
*edit edit
Simple plugin, no configurations.
*UPDATE
Made
cvar
Quote:
sm_clipsize_100_enable 0
// When enabled, change all weapons clip size 100
|
Now it reset clip size on all weapons, use cvar in map configs.
Added
log action in SM logs everytime when clip size change, happens when cvar new value different than old value.For debugging if server start crash.
(It spam twice on maps with map config, because server.cfg reset cvar back and map config enabled it after. Ignored it)
Code:
L 09/07/2011 - 10:19:39: -------- Mapchange to de_dust --------
L 09/07/2011 - 10:19:39: [clipsize_100.smx] Changed sm_clipsize_100_enable 0
L 09/07/2011 - 10:19:39: [clipsize_100.smx] Changed sm_clipsize_100_enable 1