LucasFerraz
Systems Analyst
I need a script like this.
PS. This script do not work.
LUA:
function onStepIn(cid, item, position, fromPosition)
local was = fromPosition
if(getPlayerStorageValue(cid,65535) >= 1) and (getPlayerStorageValue(cid,65536) >= 1) and (getPlayerStorageValue(cid,65537) >= 1) and (getPlayerStorageValue(cid,65538) >= 1) then
elseif(getPlayerStorageValue(cid,65535) <= 0) then
doTeleportThing(cid, was, CONST_ME_NONE)
doPlayerSendTextMessage(0, cid, 22, "You must finish a mission.")
end
end
PS. This script do not work.