Zyntax
*WannaBe Scripter*
quick question.
Why is it possible to do this
but not this
If i try to use the 2nd method i end up with a [nil] value
Where's the difference in using player: methods and item: methods?
What's the point in using them if I can't "combine" them?
Could someone explain that to me?
Why is it possible to do this
Code:
local i = Item(getPlayerSlotItem(cid, 4).uid)
print(i:getName())
print(i:getId())
Code:
local p = Player(cid)
local i = Item(p:getSlotItem(4).uid)
print(i:getName())
Where's the difference in using player: methods and item: methods?
What's the point in using them if I can't "combine" them?
Could someone explain that to me?