• Iterate through a player's pocket [DarkRP]
    0 replies, posted
How does one go through the player's pocket and see if an item exists? [lua]function( ply ) for k,v in pairs(ply.darkRPPocket) do ply:removePocketItem(k) end [/lua] For an example, this will empty one's pocket. How do I remove specific entities? What should the if statement be? something like k:GetClass(). Thanks!
Sorry, you need to Log In to post a reply to this thread.