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

Windows [REQUEST] Training System.

Gomn

Universe OTS is commin...
Joined
Feb 21, 2010
Messages
102
Reaction score
1
Location
Dungannon
Does anyone have this Training System.
auw4kk.jpg


If a player stands on red X then a monster appears, and in blue circle monsters appear. And when player stands on the yellow square then monsters dissapear.
2e6ebu8.png


If someone has it, please put it here, or give me link to the thread.(If there is one)

Thanks
OFC REP+ ;]
 
Last edited:
I had this one in my old server, but i dunno if it's working for 8.54
just try it out, isnt a big thing :p
Code:
function onStepIn(cid, item, position, fromPosition)
local pos = {x=1000,y=1000,z=7} -- edit pos
doSummonCreature(cid, "Rat", pos) --change Demon to whatever monster you want.
end
 
If there are only 2 free places without pz it can only be those 2 in there..
and i think that script isnt right at all, because i didnt see the thing with the disapearing
 
Code:
local pos = {{x=1000,y=1000,z=7}, {x=1000,y=1000,z=7}} -- edit pos
function onStepIn(cid, item, position, fromPosition)
	for _, Pos in ipairs(Config.ItemId) do
		doSummonCreature(cid, "Rat", Pos) --change Demon to whatever monster you want.
		
	end
return TRUE
end

function onStepOut(cid, item, position, fromPosition)
	for _, Pos in ipairs(Config.ItemId) do
		doRemoveCreature(cid, Pos) --change Demon to whatever monster you want.
	end
return TRUE
end

Didn't tested
 
Back
Top