could someone convert this script to tfs 1.3?
system to check if the player is with bless
system to check if the player is with bless
C++:function onThink(cid, lastExecution, thinkInterval) if(getTilePzInfo(getCreaturePosition(cid))) == false and getPlayerStorageValue(cid, 23333) <= 0 then for i = 1,8 do if getPlayerBlessing(cid,8) == false then setPlayerStorageValue(cid, 23333, 1) return doPlayerSendTextMessage(cid, 22, "Voce não tem todas as bless, tome cuidado.") else setPlayerStorageValue(cid, 23333, 1) return doPlayerSendTextMessage(cid, 22, "Voce tem todas as bless.") end end elseif (getTilePzInfo(getCreaturePosition(cid))) == true and getPlayerStorageValue(cid, 23333) == 1 then setPlayerStorageValue(cid, 23333, -1) end return true end