• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua NPC BOAT AVESTA 7.6

justikar

Active Member
Joined
Oct 28, 2013
Messages
149
Reaction score
35
Hi, someone have a boat script working good, that only premmium players?
PS: and skulls cant travel..

I almost done with my 7.6 rl map...i need know only this..
 
Never worked on avesta but isent there any function you can add to your scripts like in tfs,
Code:
if(getPlayerCondition(cid, CONDITION_INFIGHT)) then
    return true
else
    if(isPremium(cid)) then
        send player to pos
    else
        you need prem 
    end
end
WibbenZ
 
uhn.. ok thanks..i forgot one question...how can i make players go back to temple when premmy time expires..some simple question are making me crazy
 
Code:
if getPlayerPremiumDays(cid) == 0 then
  doPlayerSendTextMessage(cid, 22, "Your premium has ended.")
doTeleportThing(cid, {x=x, y=x, z=x})
end

not sure if it works but this is maybe a idea for you how to do it you can add this in login.lua in creaturescripts
 
Code:
if getPlayerPremiumDays(cid) == 0 then
  doPlayerSendTextMessage(cid, 22, "Your premium has ended.")
doTeleportThing(cid, {x=x, y=x, z=x})
end

not sure if it works but this is maybe a idea for you how to do it you can add this in login.lua in creaturescripts



thanks..this work
 
Back
Top