(adsbygoogle = window.adsbygoogle || []).push({});
Hi,when I put this class it does not let me knife, someone could help me I would appreciate

(I am new at this), so here is the code:
LuckyClass()
{
self takeAllWeapons();
wait 0.1;
self giveWeapon("dsr50_mp+ir+fmj+steadyaim");
self givemaxammo("dsr50_mp+ir+fmj+steadyaim");
self switchToWeapon("dsr50_mp+ir+fmj+steadyaim");
self giveWeapon("870mcs_mp+steadyaim");
self giveWeapon("claymore_mp");
self giveWeapon("sticky_grenade_mp");
self setWeaponAmmoStock("claymore_mp",2);
self setWeaponAmmoStock("sticky_grenade_mp",2);
self iprintln("Lucky Class ^2Given!");
}
Thanks<3