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

Coal Basin

LUA:
local basin = {x=333, y=315, z=7, stackpos=1} --- coal position

function onUse(cid, item, frompos, item2, topos)

    if item.uid == 50004 then
	doSendMagicEffect(basin,CONST_ME_FIRE)	
	end
return TRUE
end

very simple...
 
i cant understand some words

ten is 10? or you not that mean? what is asin urn ?

EDIT: i understand you not writting first letter basin and burn :D
 
LUA:
	function onStepIn(cid, item, pos, fromPosition)

local pos =
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{x=333, y=315, z=7, stackpos=1} --- coal position
{

			doSendMagicEffect(pos, CONST_ME_FIRE)
end

not sure about this.
 
LUA:
local basin = {x=333, y=315, z=7, stackpos=1} --- coal position

function onUse(cid, item, frompos, item2, topos)

    if item.uid == 50004 then
	doSendMagicEffect(basin,CONST_ME_FIRE)	
	doTransformItem(item.uid, 1484) --- change item id to burned or what ever coal basin
	end
return TRUE
end

EDIT: going sleep felt stupid by doing it. you can do it very simple by opened functions.doc
 
Back
Top