• 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!

Solved Welcome Book script?

butrocker

New Life
Joined
Aug 17, 2008
Messages
92
Reaction score
4
Hey guy's I'm looking for a script very similar to the one used in deathzot
book.jpg
I looked on the forum for a script as to how to do it, I couldn't find one..

Yes I do realize how simple this is, I just don't understand how to do it hahah
Thanks in advance
 
Add this into login.lua

Code:
 if getPlayerStorageValue(cid, 55555) == -1 then
		setPlayerStorageValue(cid, 55555, 1)
		local text = 'First line\nSecond line\nThird line.'
		doItemSetAttribute(doPlayerAddItem(cid, 1950, 1), 'text', text)
	end

1950 = book id
55555 = storage
\n = is like an "enter"
 
Back
Top