Felipe93
Ghost Member
Hello i got this script is like rpg y need one for war server for players like level 50-60+
pls
<?xml version="1.0" encoding="UTF-8"?>
<mod name="First Items" version="1.0" author="Kaiser" contact="[email protected]" enabled="yes">
<description><![CDATA[
Custom First Items
]]></description>
<config name="firstitems_config"><![CDATA[
config = {
storage = 40046,
items = {}
}
]]></config>
<event type="login" name="FirstItems" event="buffer"><![CDATA[
domodlib('firstitems_config')
if(getPlayerStorageValue(cid, config.storage) > 0) then
return
end
for _, id in ipairs(config.items) do
doPlayerAddItem(cid, id, 1)
end
-- All Vocation
-- BackPack -- Rope -- in Backpack
doAddContainerItem(doPlayerAddItem(cid, 1988, 1), 2120, 1), 2270, 1), 2261, 1), 2268, 1), 2293, 1), 2305, 1), 2310, 1), 2204, 1), 2167, 1), 2169, 1)
-- Brass Armor -- Body
doPlayerAddItem(cid, 2465, 1)
-- Steel Helmet -- Head
doPlayerAddItem(cid, 2457, 1)
-- Sorcerer - Druid (shield) -- Hand
if isSorcerer(cid) or isDruid(cid) then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..". Now require to get a wand or rod, request Josue NPC.")
-- SpellBook Shield -- Right Hand
doPlayerAddItem(cid, 2175, 1)
end
-- Paladin - Knight (Shield) -- Hand
if isKnight(cid) or isPaladin(cid) then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..".")
-- Bonelord Shield -- Right Hand
doPlayerAddItem(cid, 2518, 1)
end
-- Paladin - Knight (Weapon) -- Hand
if isPaladin(cid) then
doPlayerAddItem(cid, 2455, 20) -- Crossbow| -- Left Hand
-- Platinum Coin -- in Arrows
doPlayerAddItem(cid, 2543, 100)
end
-- Knight (Weapon) -- Hand
if isKnight(cid) then
doPlayerAddItem(cid, 2398, 1)
doPlayerAddItem(cid, 2519, 1) -- Shield
doPlayerAddItem(cid, 2404, 1) -- sword
doPlayerAddItem(cid, 2393, 1) -- Daramanian mace
end
-- All Vocation
-- Crown Legs -- in Feet
doPlayerAddItem(cid, 2488, 1)
-- Leather Boots -- in Boots
doPlayerAddItem(cid, 2195, 1)
-- Scarf -- in Necklacke
doPlayerAddItem(cid, 2661, 1)
-- Platinum Coin -- in Backpack
doPlayerAddItem(cid, 2152, 100)
-- Shovel -- in Backpack
doPlayerAddItem(cid, 2554, 1)
-- Mace -- in Backpack
doPlayerAddItem(cid, 2398, 1)
-- Brass shield -- in Backpack
doPlayerAddItem(cid, 2511, 1)
-- Crystal Ring -- in Ring
doPlayerAddItem(cid, 2124, 1)
-- Knight (Weapon) -- in Backpack
if isKnight(cid) then
doPlayerAddItem(cid, 2519, 1) -- Shield
doPlayerAddItem(cid, 2404, 1) -- sword
doPlayerAddItem(cid, 2393, 1) -- Axe
end
setPlayerStorageValue(cid, config.storage, 1)
]]></event>
</mod>
pls
<?xml version="1.0" encoding="UTF-8"?>
<mod name="First Items" version="1.0" author="Kaiser" contact="[email protected]" enabled="yes">
<description><![CDATA[
Custom First Items
]]></description>
<config name="firstitems_config"><![CDATA[
config = {
storage = 40046,
items = {}
}
]]></config>
<event type="login" name="FirstItems" event="buffer"><![CDATA[
domodlib('firstitems_config')
if(getPlayerStorageValue(cid, config.storage) > 0) then
return
end
for _, id in ipairs(config.items) do
doPlayerAddItem(cid, id, 1)
end
-- All Vocation
-- BackPack -- Rope -- in Backpack
doAddContainerItem(doPlayerAddItem(cid, 1988, 1), 2120, 1), 2270, 1), 2261, 1), 2268, 1), 2293, 1), 2305, 1), 2310, 1), 2204, 1), 2167, 1), 2169, 1)
-- Brass Armor -- Body
doPlayerAddItem(cid, 2465, 1)
-- Steel Helmet -- Head
doPlayerAddItem(cid, 2457, 1)
-- Sorcerer - Druid (shield) -- Hand
if isSorcerer(cid) or isDruid(cid) then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..". Now require to get a wand or rod, request Josue NPC.")
-- SpellBook Shield -- Right Hand
doPlayerAddItem(cid, 2175, 1)
end
-- Paladin - Knight (Shield) -- Hand
if isKnight(cid) or isPaladin(cid) then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..".")
-- Bonelord Shield -- Right Hand
doPlayerAddItem(cid, 2518, 1)
end
-- Paladin - Knight (Weapon) -- Hand
if isPaladin(cid) then
doPlayerAddItem(cid, 2455, 20) -- Crossbow| -- Left Hand
-- Platinum Coin -- in Arrows
doPlayerAddItem(cid, 2543, 100)
end
-- Knight (Weapon) -- Hand
if isKnight(cid) then
doPlayerAddItem(cid, 2398, 1)
doPlayerAddItem(cid, 2519, 1) -- Shield
doPlayerAddItem(cid, 2404, 1) -- sword
doPlayerAddItem(cid, 2393, 1) -- Daramanian mace
end
-- All Vocation
-- Crown Legs -- in Feet
doPlayerAddItem(cid, 2488, 1)
-- Leather Boots -- in Boots
doPlayerAddItem(cid, 2195, 1)
-- Scarf -- in Necklacke
doPlayerAddItem(cid, 2661, 1)
-- Platinum Coin -- in Backpack
doPlayerAddItem(cid, 2152, 100)
-- Shovel -- in Backpack
doPlayerAddItem(cid, 2554, 1)
-- Mace -- in Backpack
doPlayerAddItem(cid, 2398, 1)
-- Brass shield -- in Backpack
doPlayerAddItem(cid, 2511, 1)
-- Crystal Ring -- in Ring
doPlayerAddItem(cid, 2124, 1)
-- Knight (Weapon) -- in Backpack
if isKnight(cid) then
doPlayerAddItem(cid, 2519, 1) -- Shield
doPlayerAddItem(cid, 2404, 1) -- sword
doPlayerAddItem(cid, 2393, 1) -- Axe
end
setPlayerStorageValue(cid, config.storage, 1)
]]></event>
</mod>