• 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 Get Mounts and Outfits only premium Time??

Mariuskens

Sword Art Online 2D-MMORPG
Joined
Nov 21, 2008
Messages
1,010
Reaction score
120
Location
Spain
GitHub
Olimpotibia
Get Mounts and Outfits only premium Time??

Yes i need help to make this script.
My idea:

When player Pay/Have Premium Time - Can put Mount and Outfits = TIbiaRL (Entrepeneur+Shadow Draptor+Red Manta+Armoured War Horse+Steelbeak)

How I can do that?

Special Thnx to all OTland Members.
 
paste your mounts.xml
data/XML mounts.xml
you have added ="yes" in all your mounts say are for premium ?
example this line:
Code:
<mount id="1" clientId="368" name="Widow Queen" speed="20"[B][B][COLOR="#FF0000"] premium="yes" [/COLOR][/B][/B]/>
 
Cronox sorry but i need this:

Buy Premium -> +30 Days + Entrepenur Addon 1+2 and Red manta.

So here is my Mount.xml
LUA:
<?xml version="1.0" encoding="UTF-8"?>
<mounts>
	<mount id="1" clientId="368" name="Widow Queen" speed="20" premium="no" />
	<mount id="2" clientId="369" name="Racing Bird" speed="20" premium="yes" />
	<mount id="3" clientId="370" name="War Bear" speed="20" premium="no" />
	<mount id="4" clientId="371" name="Black Sheep" speed="20" premium="yes" />
	<mount id="5" clientId="372" name="Midnight Panther" speed="35" premium="yes" />
	<mount id="6" clientId="373" name="Draptor" speed="24" premium="yes" />
	<mount id="7" clientId="374" name="Titanica" speed="32" premium="yes" />
	<mount id="8" clientId="375" name="Tin Lizzard" speed="39" premium="yes" />
	<mount id="9" clientId="376" name="Blazebringer" speed="41" premium="yes" />
	<mount id="10" clientId="377" name="Rapid Boar" speed="42" premium="yes" />
	<mount id="11" clientId="378" name="Stampor" speed="5" premium="yes" />
	<mount id="12" clientId="379" name="Undead Cavebear" speed="31" premium="yes" />
	<mount id="13" clientId="387" name="Donkey" speed="26" premium="yes" />
	<mount id="14" clientId="388" name="Tiger Slug" speed="20" premium="yes" />
	<mount id="15" clientId="389" name="Uniwheel" speed="50" premium="yes" />
	<mount id="16" clientId="390" name="Crystal Wolf" speed="42" premium="yes" />
	<mount id="17" clientId="392" name="War Horse" speed="30" premium="yes" />
	<mount id="18" clientId="401" name="Kingly Deer" speed="30" premium="yes" />
	<mount id="19" clientId="402" name="Tamed Panda" speed="25" premium="yes" />
	<mount id="20" clientId="405" name="Dromedary" speed="10" premium="yes" />
	<mount id="21" clientId="406" name="Sandstone Scorpion" speed="41" premium="yes" />
	<mount id="22" clientId="421" name="Rented Horse" speed="28" premium="yes" />
	<mount id="23" clientId="426" name="Fire War Horse" speed="35" premium="yes" />
	<mount id="24" clientId="427" name="Shadow Draptor" speed="30" premium="yes" />
	<mount id="25" clientId="437" name="Rented Horse" speed="44" premium="yes" />
	<mount id="26" clientId="438" name="Rented Horse" speed="40" premium="yes" />
	<mount id="27" clientId="447" name="Ladybug" speed="40" premium="yes" />
	<mount id="28" clientId="450" name="Manta" speed="50" premium="yes" />
	<mount id="29" clientId="502" name="Ironblight" speed="50" premium="yes" />
	<mount id="30" clientId="503" name="Magma Crawler" speed="60" premium="yes" />
	<mount id="31" clientId="506" name="Dragonling" speed="60" premium="yes" />
	<mount id="32" clientId="515" name="Gnarlhound" speed="70" premium="yes" />
	<mount id="33" clientId="521" name="Red Manta" speed="70" premium="yes" />
	<mount id="34" clientId="522" name="Mechanical Bird" speed="80" premium="yes" />
	<mount id="35" clientId="526" name="Water Buffalo" speed="80" premium="yes" />

	<!-- Customs Mounts
	<mount id="36" clientId="94" name="Hyaena" speed="5" premium="yes"/>
	<mount id="37" clientId="219" name="Tarantula" speed="5" premium="yes"/>
	<mount id="38" clientId="222" name="Toad" speed="5" premium="yes"/>
	<mount id="39" clientId="230" name="Hand of cursed fate" speed="5" premium="yes"/>
	<mount id="40" clientId="245" name="Nightmare" speed="5" premium="yes"/>
	<mount id="41" clientId="305" name="Mutated Rat" speed="5" premium="yes"/>
	<mount id="42" clientId="317" name="Young Sea Serpent" speed="5" premium="yes"/>
	<mount id="43" clientId="348" name="Lancer Beetle" speed="5" premium="yes"/> -->
</mounts>
 
Premium Scroll

LUA:
function onUse(cid, item)
    if doRemoveItem(item.uid) then
		doPlayerAddPremiumDays(cid, 30)
		doSendMagicEffect(getCreaturePosition(cid), 28)
        doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'Your gain 30 days of premmium!')
	end
return true
end
 
Ye, fail there cronox.. What script gives the mounts and outfits?
Just change that script to give the outfits/mounts. And a script onremovedays or smth like that, to remove them.
WibbenZ
 
@up you don't understand ,he want use premium scroll and give addon + mount + premiumdays
LUA:
function onUse(cid, item)
    if doRemoveItem(item.uid) then
		doPlayerAddPremiumDays(cid, 30)
	       doPlayerAddMount(cid, 33)
               doPlayerAddOutfit(cid, 471, 3)
               doPlayerAddOutfit(cid, 472, 3)
		doSendMagicEffect(getCreaturePosition(cid), 28)
        doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'Your gain 30 days of premmium!')
	end
return true
end
 
oh, I guess I failed then xD

Or wait, "When player Pay/Have Premium Time - Can put Mount and Outfits = TIbiaRL (Entrepeneur+Shadow Draptor+Red Manta+Armoured War Horse+Steelbeak)"

Your script is wrong, when the player dosent have pacc anymore he can still use the addons and mounts, he needs to disable that others that dosent have pacc cant use 'em.

Sorry dident get a shit of his english hahaha
WibbenZ
 
Back
Top