Hello
i beginn to learn scripting so i maked my first script but my server say there is a error can someone say me whats with this script wrong?
i beginn to learn scripting so i maked my first script but my server say there is a error can someone say me whats with this script wrong?
Code:
if doPlayerRemoveItem(cid, itemid, count[, subtype]) then
if item.itemid == 2160 then
doPlayerSendTextMessage(cid,21,"You have stolen the Money!")
end
return TRUE
end