Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
I have a script that scans the items lasting 30 days. How do I do so that when the player look the item, see how much time remains to complete the 30 days?
What are you talking about? What do you need to scan?
You need to talk more english and provide us with more details of what you want if you want some support.
In the action of the item add when player use the item setPlayerstorageValue(cid, 1111,30) for example, then add another scan every 24h check the storage and decrease it -1 for example getPlayerstorageValue(cid,1111, getPlayerStorageValue(cid, 1111)-1) If you have done this part
check the getPlayerStorageValue(cid, 1111) on look in thing
Code:
function onLook(cid, thing, position, lookDistance)
if isPlayer(thing.uid) then
doPlayerSetSpecialDescription(thing.uid, Got .."getPlayerStorageValue(thing.uid, 1111)".. Days left of xxxx item)
end
return true
end