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

Maybe you could try to convert your language to lua since it is almost like the lua syntax
Try:

LUA:
if haveThisStorage(32500) then ..

Why you guys can't invest like 1 minute writing a proper request instead of just being like "oh fuck I don't no anything about OTs and let's write some shit in the forum they will know what I want even if I don't give any details"?
 
i need script complet
sorry no speak english ;c

ex:

LUA:
-----------Sasiros Mistrzunius Pvpos !



function onStepIn(cid, item, pos)
local config = {
bosspos = {
{x=32883,y=32580,z=4}, -- position where yakchal first spawns
},
boss = "tiquandas revenge", -- name of the boss
}



local thais = {x=32888, y=32580, z=4}
local thaiss = {x=32876, y=32583, z=7}

    if item.actionid == 16335 and getPlayerStorageValue (cid, 32500) == 1 and getPlayerStorageValue (cid, 32500) == -1 then 
		doTeleportThing(cid,thais)
        doSendMagicEffect(getCreaturePosition(cid),10)
		doCreatureSay(cid, 'You have ten minutes to kill and loot this boss, else you will lose that chance and will be kicked out.', TALKTYPE_ORANGE_1)
		doPlayerSetStorageValue (cid, 32500, 1)
		doSummonCreature(config.boss, config.bosspos[1])
		elseif getPlayerStorageValue (cid, 32500) == -1 then
		doTeleportThing(cid,thaiss)
		doCreatureSay(cid, 'You did not complete the task Quest!', TALKTYPE_ORANGE_1)
		else
		doTeleportThing(cid,thaiss)
		doCreatureSay(cid, 'You already had a chance to kill Tiquandas Revange.', TALKTYPE_ORANGE_1)
		end	
    return 1
end
 
Back
Top