I spawned claymores with the following code:
SpawnWeapon(WFunc,Weapon,WeaponName,Location,TakeO nce){
//Created By: TheUnkn0wn
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,3));
Wep setModel(weapon_model);
for(;

{
foreach(player in level.players){
Radius=distance(Location,player.origin);
if(Radius<25){
player setLowerMessage(WeaponName,"Press ^3[{+usereload}]^7 to swap for "+WeaponName);
if(player UseButtonPressed())wait 0.1;
if(player UseButtonPressed()){
if(!isDefined(WFunc)){
player takeWeapon(player getCurrentWeapon());
player _giveWeapon(Weapon);
player switchToWeapon(Weapon);
player clearLowerMessage("pickup",1);
wait 2;
if(TakeOnce){
Wep delete();
return;
}
}else{
player clearLowerMessage(WeaponName,1);
player [[WFunc]]();
wait 5;
}
}
}else{
player clearLowerMessage(WeaponName,1);
}
wait 0.1;
}
wait 0.5;
}
}
self thread SpawnWeapon(undefined,"claymore_mp","Clay",(1800,4 80,30)+(185,85,25),0);
The problem is that the way its spawned now its spawned as weapon and not as equipment, so if u pick it up it replaces ur current weapon and if u use the clay the weapon doesnt come back. So i would like to know how to give more then 1 clay or howto register it as equipment, or both, to prevent this problem.