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

Paradox create stair script.

christiandb

Member
Joined
Feb 5, 2008
Messages
2,469
Reaction score
5
Location
010
Code:
function ChangeBack(cid)

doTransformItem(getThingfromPos({x=32478, y=31902, z=7, stackpos=1}).uid, 1304)

end



function onStepIn(cid, item, pos)

 if item.actionid == 10070 and getThingfromPos({x=32478, y=31906, z=7, stackpos=1}).itemid == 2782 and getThingfromPos({x=32478, y=31902, z=7, stackpos=1}).itemid == 1304 then
	    addEvent(ChangeBack, 45000, cid)
		doTransformItem(getThingfromPos({x=32478, y=31902, z=7, stackpos=1}).uid, 1385)

	else
		doPlayerSendCancel(cid,"Sorry")

	end
  return 1
end

All the pos things are right and I step on the tile when the grass at the door grows but I doesnt seem to be willing to change the stone into the stair.
 
Back
Top