True but i tought he said fixed it in the newest function anywais it gives that error because there isen't sutch function in "Global.lua"
anywais on-Topic)
Try to make the summon function in the Teleport (needas to check your Value so it could check what monsters to summon
there is new functions? if so, where i can see them?
function onStepIn(cid, item, position)
if item.actionid > IDTELEPORT then
getPlayerStorageValue(cid,VALUE) = 1 then
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
elseif getPlayerStorageValue(cid,VALUE) = 1 then
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
elseif getPlayerStorageValue(cid,VALUE) = 1 then
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
doSummonCreature (x,y,z)
else
senplayercanel(cid, You haevt paid to enter the arena)
end
return TRUE
end
no it's not a new function while u wallk into a teleport it checks your value hmm let me make an example first.
Code:function onStepIn(cid, item, position) if item.actionid > IDTELEPORT then getPlayerStorageValue(cid,VALUE) = 1 then doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) elseif getPlayerStorageValue(cid,VALUE) = 1 then doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) elseif getPlayerStorageValue(cid,VALUE) = 1 then doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) doSummonCreature (x,y,z) else senplayercanel(cid, You haevt paid to enter the arena) end return TRUE end
THis is really fast with hand scripted but it's just an example.
what does this dow? if you pai an npc it gives you an special "Value" and if it reconise the Value it will summon monsteres depending on your value..
if you havent paid anything u will get teleported into an empty room.. and the only way out is through teleport since oyu cant do anything.
ANywais it ha loads of bugs nice i putted my SVarground on the side.. some one else needs to make it, Or the people just ened to wait till my mappers make Svarground..
Talaturen said that if someone told him EXACTLY how that arena worked, he could probably script it.
So, tell us EXACTLY how it works and maybe someone will do that for you
I would love this script, sad that created ones doesn't work with forgotten
//Massen