Hello, I've got a small problem, learning LUA right now..
I want, if the player have item X, or item Y, or item Z, then doPlayerAddItem XXXX
I have got the script, working with one item, but if I want to only this, that or another item it don't work...
I thought it works like
But it not, thanks for reply.
I want, if the player have item X, or item Y, or item Z, then doPlayerAddItem XXXX
I have got the script, working with one item, but if I want to only this, that or another item it don't work...
Lua:
if getPlayerItemCount(cid, XXXX) >= X
I thought it works like
Lua:
if getPlayerItemCount(cid, XXXX) >= X or getPlayerItemCount(cid, XXXX) >= X or getPlayerItemCount(cid, XXXX) >= X
But it not, thanks for reply.
Last edited: