Hyresu
Professional Dumb
Well, there exists an function called getItemNameById, but, what happens when you use getItemNameById(0) with 0? it returns nil and launchs a error bug, using this function, will not send a error msg, it will return: nothing...
Easy function, but usseful
Credits
100% Led
Easy function, but usseful
Code:
function getItemName(item)
if item >= 1 then
return getItemNameById(item)
else
return nothing
end
return false
end
100% Led