Hello. I'm back again for another question. I have a fist weapon, but it is droppable.
I really don't want this, but I don't know how to make it so the player who attempts to drop the fist weapon not able to drop it.
All I really need is the code to check if a certain weapon is equipped. I've checked around on Google and I don't think anyone has posted anything on this.
Thank you for your help.
[lua]if IsValid(ply:GetActiveWeapon()) and ply:GetActiveWeapon():GetClass() != "fists" then[/lua]
Thank you very much, it works! :)
Wait, is it TTT? If so, there's a built in function for that
Nope, I'm making a gamemode from scratch. But thanks for your input anyway
Sorry, you need to Log In to post a reply to this thread.