❗ Equipment code
Ok, so I'm working on a new mod and i use this code :
self maps\mp\perks\_perks::givePerk( "frag_mp" );self setWeaponAmmoClip("frag_mp", 1);
to set the equipment as a frag grenade and it works fine. But when i try : claymore_mp, c4_mp, ... other equipment it won't work!
I did put them in the usable weapons like this : case "claymore_mp":
Pls help and give me the right code, cuz i have no idea.
self maps\mp\perks\_perks::givePerk( "frag_mp" );self setWeaponAmmoClip("frag_mp", 1);
to set the equipment as a frag grenade and it works fine. But when i try : claymore_mp, c4_mp, ... other equipment it won't work!

I did put them in the usable weapons like this : case "claymore_mp":
Pls help and give me the right code, cuz i have no idea.

