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

Request someone to test...

so let me get this straight, This script will only allow two people in the same place (instance) Please explain more. Im lost :/
 
have no idea, i have been having trouble with my dueling script, so havent been able to add this

EDIT: i get spammed with errors whenever i add the instances to global, something in instances lua is wrong

EDIT2: nvm you just need to put data/instances.lua if you put it in the same as global, didnt see that.

EDIT3: works perfectly so far, heres what ive used
Code:
premium = 0
minLevel = 100
maxLevel = 300
fromPos = { x = 353, y = 358, z = 7 }
toPos = { x = 367, y = 363, z = 7 }
name = "Arena"
maxPlayers = 2
posIn = { x = 353, y = 360, z = 7 }
posOut = fromPosition

function onStepIn(cid, item, pos, frompos)
	if item.actionid == 12000 and getPlayerStorageValue(cid, 3453) == 1 then
		enterInstanceStepIn(cid, premium, minLevel, maxLevel, fromPos, toPos, name, maxPlayers, posIn, posOut)
						setPlayerStorageValue(cid, 3453, 0)
	end
end
 
Last edited:
Back
Top