Hi , is there any way strip weapons specified , for example , if the User spawn with Glock , then it is automatically removed , only that the other arms continue with it. Here is a code that might help you.
PHP Code:
#include < amxmodx >
#include < hamsandwich >
#include < fakemeta_util >
public plugin_init()
{
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1);
}
public fwHamPlayerSpawnPost(id)
{
fm_strip_user_weapons(id);
set_pdata_int(id, 116, 0);
fm_give_item(id, "weapon_knife");
}
__________________