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

Lua Problem with doSetItemActionId(uid, actionid)

lucasclarim

New Member
Joined
May 16, 2008
Messages
5
Reaction score
0
Code:
[16/02/2010 21:16:33] [Error - MoveEvents Interface] 
[16/02/2010 21:16:33] data/movements/scripts/crystalquest.lua:onStepIn
[16/02/2010 21:16:33] Description: 
[16/02/2010 21:16:33] data/movements/scripts/crystalquest.lua:12: attempt to call global 'doSetItemActionId' (a nil value)
[16/02/2010 21:16:33] stack traceback:
[16/02/2010 21:16:33] 	data/movements/scripts/crystalquest.lua:12: in function <data/movements/scripts/crystalquest.lua:1>

I'm having problem with function doSetItemActionId and others functions. All display (a nil value) but the script is fully correctly. An example
PHP:
function onSay(cid)
posquest = {x=706, y=602, z=6, stackpos=1}
	quest = doCreateItem(9889, posquest)
	doSetItemActionId(quest, 11503)
	doSetItemSpecialDescription(quest, "Start")
end

Im uding tfs 0.3.6pl1 what is the problem?
 
Back
Top