how to check the equipment?

09/05/2014 13:27 drunkwolfs#1
core 34083
I did not find the function:
pc.get_equip
item.get_equip
etc.
How to check the equipment?
Example:

Code:
for i = 90, 110 do
   if pc.get_equip(i) == 41309 then
       say("ok")
   else
       say("error. You equip costume")
   end
end
09/16/2014 22:57 drunkwolfs#2
up