Hello all :)
I give you an other quest =D
banker.quest
give_banker.quest
item_proto
query
And icon in Attachments :)
I give you an other quest =D
banker.quest
Code:
quest banker begin
state start begin
when 99001.use begin
local s = select("Banker", "Banker Item-Shop", "Close")
if s == 1 then
setskin(NOWINDOW)
game.open_safebox()
end
if s == 2 then
setskin(NOWINDOW)
game.open_mall()
end
if s == 3 then
return
end
end
end
end
Code:
quest give_banker begin
state start begin
when 20041.chat."You wanna -- Item Name --" with pc.level >90 begin
say("You wanna this item for 100kk yang ?")
local s=select("Yes !","No !")
if 2 == s then
return
end
if 1 == s then
if pc.money>=100000000 then
pc.changemoney(-100000000)
say_item(99001)
say("I give you the object, thanks")
pc.give_item2(99001)
else
say("You haven't cash !")
end
end
end
end
end
HTML Code:
<Item vnum="99001" hashName="'¹éÁøÁÖ'" name="-- Your item name --" type="18" subtype="10" weight="0" size="1" antiflag="106880" flag="8192" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64912" socket2="127" socket3="65008" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
PHP Code:
INSERT INTO `item_proto` VALUES ('99001', '-- Your item name --', '-- Your item name --', '18', '10', '0', '1', '106880', '8192', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');