I'm making a quest on which you open a dead body and find a book with some stuff written on it. I'm kinda experienced in scripting but I don't know of any function that writes on books, something like doAddText(), I don't know.
the script should be like
So, please, what's the correct function? Thanks for your time!
the script should be like
Code:
function onUse(cid)
if getPlayerStorageValue(cid,12010)~=1 then
book=doPlayerAddItem(cid,1955,1) --gray book id
setPlayerStorageValue(cid,12010,1)
[B][COLOR="#FF0000"]doAddText(book,"bla bla bla")[/COLOR][/B]
else
doPlayerSendTextMessage(cid,22,"You found nothing.")
end
end