Wildcarding weapons

Hello community, I keep on forgetting how to wildcard weapon classes in GLua, could anyone tell me what I write into the quotation marks?

Thanks in advance.


Already tried that, didn’t work.

As in I tried it this way: ply:GetActiveWeapon():GetClass() == “weapon_*”

Eh, what?
GetClass doesn’t take any arguments. What are you trying todo?

My bad, I meant GetClass() == “weapon_*”.

Just use string.find

Alrighty, thanks.