• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua onLook - Rep++

ThaLeeeS

Member
Joined
Oct 4, 2009
Messages
189
Reaction score
7
Location
Brazil
Hello !

I need onLook on items for show any Attribute.
Like:

if thing.itemid == XXX then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You see a "..string.lower(getItemAttribute(thing.uid, "XX"))..".")
end


But not work..

Help me...
Thanks
 
maybe
getItemDescriptions instead of getItemAttribute

for name:
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You see a ".. getItemDescriptions(item.uid).name ..".")

?
 
Back
Top