------------------------------------------------ addon ------------------------------------------------
elseif msgcontains(msg, 'first nightmare addon') then
if isPremium(cid) then
if player_money >= 2000000 then
selfSay('Did you bring me 200 cs?')
talk_state = 34
else
selfSay('I need 200 crystal coins, to give you the first Nightmare addon. Come back when you have them.')
talk_state = 0
end
else
selfSay(addon_need_premium)
talk_state = 0
end
------------------------------------------------ confirm yes ------------------------------------------------
elseif msgcontains(msg, 'yes') and talk_state == 34 then
talk_state = 0
if player_money >= 2000000 then
addon = getPlayerStorageValue(cid,150010)
if addon == -1 then
if pay(cid,2000000) then
selfSay(addon_give)
doPlayerAddAddon(cid, 269, 1)
doPlayerAddAddon(cid, 268, 1)
setPlayerStorageValue(cid,150010,1)
end
else
selfSay(addon_have_already)
end
else
selfSay(addon_have_not_items)
end
------------------------------------------------ addon ------------------------------------------------
elseif msgcontains(msg, 'second nightmare addon') then
if isPremium(cid) then
if player_money >= 2000000 then
selfSay('Did you bring me 200 cs?')
talk_state = 35
else
selfSay('I need 200 crystal coins, to give you the second Nightmare addon. Come back when you have them.')
talk_state = 0
end
else
selfSay(addon_need_premium)
talk_state = 0
end
------------------------------------------------ confirm yes ------------------------------------------------
elseif msgcontains(msg, 'yes') and talk_state == 35 then
talk_state = 0
if player_money >= 2000000 then
addon = getPlayerStorageValue(cid,150011)
if addon == -1 then
if pay(cid,2000000) then
selfSay(addon_give)
doPlayerAddAddon(cid, 269, 2)
doPlayerAddAddon(cid, 268, 2)
setPlayerStorageValue(cid,150011,1)
end
else
selfSay(addon_have_already)
end
else
selfSay(addon_have_not_items)
end
------------------------------------------------ addon ------------------------------------------------
elseif msgcontains(msg, 'first jester addon') then
if isPremium(cid) then
if player_money >= 2000000 then
selfSay('Did you bring me 200 cs?')
talk_state = 36
else
selfSay('I need 200 crystal coins, to give you the first Blazen addon. Come back when you have them.')
talk_state = 0
end
else
selfSay(addon_need_premium)
talk_state = 0
end
------------------------------------------------ confirm yes ------------------------------------------------
elseif msgcontains(msg, 'yes') and talk_state == 36 then
talk_state = 0
if player_money >= 2000000 then
addon = getPlayerStorageValue(cid,150012)
if addon == -1 then
if pay(cid,2000000) then
selfSay(addon_give)
doPlayerAddAddon(cid, 270, 1)
doPlayerAddAddon(cid, 273, 1)
setPlayerStorageValue(cid,150012,1)
end
else
selfSay(addon_have_already)
end
else
selfSay(addon_have_not_items)
end
------------------------------------------------ addon ------------------------------------------------
elseif msgcontains(msg, 'second jester addon') then
if isPremium(cid) then
if player_money >= 2000000 then
selfSay('Did you bring me 200 cs?')
talk_state = 37
else
selfSay('I need 200 crystal coins, to give you the second Jester addon. Come back when you have them.')
talk_state = 0
end
else
selfSay(addon_need_premium)
talk_state = 0
end
------------------------------------------------ confirm yes ------------------------------------------------
elseif msgcontains(msg, 'yes') and talk_state == 37 then
talk_state = 0
if player_money >= 2000000 then
addon = getPlayerStorageValue(cid,150013)
if addon == -1 then
if pay(cid,2000000) then
selfSay(addon_give)
doPlayerAddAddon(cid, 270, 2)
doPlayerAddAddon(cid, 273, 2)
setPlayerStorageValue(cid,150013,1)
end
else
selfSay(addon_have_already)
end
else
selfSay(addon_have_not_items)
end
------------------------------------------------ addon ------------------------------------------------
elseif msgcontains(msg, 'first brotherhood addon') then
if isPremium(cid) then
if player_money >= 2000000 then
selfSay('Did you bring me 200 cs?')
talk_state = 38
else
selfSay('I need 200 crystal coins, to give you the first Death addon. Come back when you have them.')
talk_state = 0
end
else
selfSay(addon_need_premium)
talk_state = 0
end
------------------------------------------------ confirm yes ------------------------------------------------
elseif msgcontains(msg, 'yes') and talk_state == 38 then
talk_state = 0
if player_money >= 2000000 then
addon = getPlayerStorageValue(cid,150014)
if addon == -1 then
if pay(cid,2000000) then
selfSay(addon_give)
doPlayerAddAddon(cid, 279, 1)
doPlayerAddAddon(cid, 278, 1)
setPlayerStorageValue(cid,150014,1)
end
else
selfSay(addon_have_already)
end
else
selfSay(addon_have_not_items)
end
------------------------------------------------ addon ------------------------------------------------
elseif msgcontains(msg, 'second brotherhood addon') then
if isPremium(cid) then
if player_money >= 2000000 then
selfSay('Did you bring me 2000000 cs?')
talk_state = 39
else
selfSay('I need 200 crystal coins, to give you the second Brotherhood addon. Come back when you have them.')
talk_state = 0
end
else
selfSay(addon_need_premium)
talk_state = 0
end
------------------------------------------------ confirm yes ------------------------------------------------
elseif msgcontains(msg, 'yes') and talk_state == 39 then
talk_state = 0
if player_money >= 2000000 then
addon = getPlayerStorageValue(cid,150015)
if addon == -1 then
if pay(cid,2000000) then
selfSay(addon_give)
doPlayerAddAddon(cid, 279, 2)
doPlayerAddAddon(cid, 278, 2)
setPlayerStorageValue(cid,150015,1)
end
else
selfSay(addon_have_already)
end
else
selfSay(addon_have_not_items)
end