Is there a way to check and see if a player at least has a sniper rifle? I don't care if it's holstered or upholstered, I just want to know if a player has kar98 or Springfield on them. I'll write the rest. Anything like local.player.weapons ?
I haven't modded in a while, so just bare with me please.
All help is appreciated.