I use this one . ( but you need to change all the array in the edited weapon plugin to false on new round . Example you use Golden Ak-47 and the round end then you need to make the array to false on new round so when the player/user choose ak on the new round then he/she can't get the Golden ak-47 because the array have been set to false on new round. )
but this one is when the round end then all the player's weapon should be strip and can only use knife. If you want for new round then change the "1=Round_End" to "1=New_Round" . Kbai.
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fun>
#include <zombieplague>
#define PLUGIN "Strip user weapon when round end"
#define VERSION "0.1"
#define AUTHOR "MuhdZaim"
new g_maxplayers
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("RoundEnd", 2, "1=Round_End")
g_maxplayers = get_maxplayers()
}
public RoundEnd()
{
for ( new id = 1; id <= g_maxplayers; id++ )
if ( is_user_alive(id) )
{
if ( zp_get_user_zombie(id) || zp_get_user_nemesis(id) ) return;
{
strip_user_weapons(id)
give_item(id, "weapon_knife")
}
if ( zp_get_user_zombie(id) )
{
give_item(id, "weapon_knife")
}
}
}
__________________