• Get weapon by slot?
    1 replies, posted
Is there a way to get a weapon by the slot it is in? If I put that weapon as "x" somehow, could I use ply:DropWeapon(x)? I would like the player to drop their second slot weapon (Because for some reason TTT puts slot 2 as slot 1).
The "Slot" index of the weapon table. [lua] for k, v in pairs( player.GetAll() ) do print( v:GetActiveWeapon().Slot ) end [/lua]
Sorry, you need to Log In to post a reply to this thread.