Hi
I mean the plugin AMXX which would change the quantity of ammunition for the weapon, eg
previous topics, I found the plugin DUAL MP5 and MP5, I would like to have had 2x more ammo or 60 / magazine and 240 in reserve
whether it is possible to know from somewhere that I saw
I have the plugin, the new model (external), and if possible a greater rate of shoting
I tried to do something but do not work as I want
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <fakemeta>
public plugin_init() {
register_plugin("DL mp5", "1.0", "Daku");
}
public plugin_precache() {
precache_model("models/mp5test/v_mp.mdl");
}
public event_curweapon(id) {
new clip, ammo, weapon = get_user_weapon(id, clip, ammo);
if(weapon == CSW_MP5NAVY) {
set_pev(id, pev_viewmodel, "models/mp5test/v_mp.mdl");
}
return PLUGIN_CONTINUE;
}