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

Mission Travel

Nerkoerko

Banned User
Joined
Feb 28, 2009
Messages
402
Reaction score
5
Location
Polska
I need players be transport which (who) may executed missions which (who) npc

Valu xx
pacc yes

tnx
 
I need players be transport which (who) may executed missions which (who) npc

Valu xx
pacc yes

tnx

PHP:
local already        = 'You cant go you dont have the mission..'
local letsgo        = 'Lets Go!.'
             -- Travel startstart --
function startravel(cid, message, keywords, parameters, node)
    if(not npcHandler:isFocused(cid)) then
        return false
    end
    if isPremium(cid) then
    quest = getPlayerStorageValue(cid,55554)
    if quest == 1 then
	nPos = {x=31748, y=32718, z=6}
	doTeleportThing(cid, nPos)
	        selfSay(letsgo)
            doSendMagicEffect(getCreaturePosition(cid), 14)
        end
    else
        selfSay(already)
    end

end

at quest stage the storage id to what you want.
 
[22/06/2009 10:20:27] data/talkactions/scripts/creature.lua:eek:nSay

[22/06/2009 10:20:27] luaDoCreateNpc(). Npc name(capitan max) not found

[22/06/2009 10:20:34] Lua Script Error: [TalkAction Interface]
[22/06/2009 10:20:34] data/talkactions/scripts/creature.lua:eek:nSay

[22/06/2009 10:20:34] luaDoCreateNpc(). Npc name() not found
 
Back
Top