Na Amigo
The crazy girl
i'v this script if you at pz you can't use it
here is the script and the error below
here is the error
here is the script and the error below
Code:
function onUse(cid, item, frompos, item2, topos)
temple = {x=602,y=533,z=7}
pos = getPlayerPosition(cid)
if getPlayerConditionTicks(cid, 1024) > 0 then
doPlayerSay(cid, "You Cant Use This Item In Fight.", 16)
else
doTeleportThing(cid, temple)
end
return true
end
Code:
[13:1:08.533] [Error - Action Interface]
[13:1:08.533] data/actions/scripts/Arch TP.lua:onUse
[13:1:08.533] Description:
[13:1:08.533] data/actions/scripts/Arch TP.lua:5: attempt to call global 'getPlayerConditionTicks' (a nil value)
[13:1:08.533] stack traceback:
[13:1:08.533] data/actions/scripts/Arch TP.lua:5: in function <data/actions/scripts/Arch TP.lua:1>