Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about itemhasflags()
#1
Hello,
I'm looking into the
|Only Registered members can see download links. | Click here to buy subscription or here to register.
script
But i don't know what the command
itemhasflags()
does.

I searched
|Only Registered members can see download links. | Click here to buy subscription or here to register.
but didn't find.

Is there somewhere else i can look for more usable functions ?

#2
Hello.

itemhasflags(string item, optional number flags) returns true/false if an item has specific flags, like if it's a container, stackable, etc.
itemflags(string item) returns a table with item flags.

print(itemflags(3031))

if itemhasflags(3031, 5) then
     print('3031 is stackable')
end



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016