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

script request forgotten server 1.2

xrenan

New Member
Joined
Nov 5, 2018
Messages
5
Reaction score
0
Hello guys !

can i use this function below with storage?
player:showTextDialog(item:getId(), text)

When the player gets storage 1100 will open automatically player:showTextDialog(item:getId(), text) with a text inside?

Yes?

What would the code look like?
 
Solution
Code:
if player:getStorageValue(1100) >= 1 then
        local text = 'suc* my eggs'
        player:showTextDialog(item:getId(), text)
end
I hope that helped you
Code:
if player:getStorageValue(1100) >= 1 then
        local text = 'suc* my eggs'
        player:showTextDialog(item:getId(), text)
end
I hope that helped you
 
Solution
Back
Top