Quest to see if client is wearing any equipment
The subject says it all. I'm looking for the most effective way to check a client's inventory (worn items only) to see if he is wearing any item in any slot.
Basically, I want an NPC to be able to determine if the player has any equipped gear. Any suggestions? |
Using this as a reference, I would imagine you could use the following command:
Code:
$client->GetItemIDAt(slot_id) Code:
sub EVENT_SAY { |
Perfect, Andmetal, that's exactly what I needed. I had tried using
Quote:
Thanks tons. ;) |
All times are GMT -4. The time now is 10:25 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.