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

Temple

Venn

Member
Joined
Aug 16, 2009
Messages
547
Reaction score
20
hay can someone halp me ?
i'm trying to creat script wchich will change our temple position from one city to second.
so if i stand in floor my temple position is changed.

i wrote script like this:
Code:
function onStepIn(cid, item, frompos, item2, topos)
if item.uid == 65003 then
doPlayerSetMasterPos(cid,{x=32097, y=32219, z=7})
doPlayerSendTextMessage(cid,22,"")
else
return 0
end
return 1
end

Code:
<movevent type="StepIn" uniqueid="65003" event="script" value="rokbridge.lua"/>

and it dont wark :(
can someone fix it or tell me what i do wrong ?
 
but i want it to be a floor.
for example first login character is in some cord
and when player go to town he need to go with bridge and i want if he stand on bridge he will became citizen of city. becous if he die i login there where he spawn first time
 
Code:
function onStepIn(cid, item, position, fromPosition)
	doPlayerSetTown(cid, 5)
	doPlayerSendTextMessage(cid, 22, "")
end
 
Back
Top