|
[itemdef i_market_stone]
id=i_grave_stone
name Market
on=@create
color=07a1
attr attr_move_never
one=@click
message @0484,,1 <name>
return 1
ON=@DClick
If (<distance> < 3)
sdialog d_market
return 1
else
src.sysmessage @38,1,1 Uzaksiniz.
return 1
endif
[DIALOG d_market] //SPECIAL PLACES
50,50
nomove
resizepic 0 0 3500 200 280
text 35 20 38 0
text 35 62 1152 1
text 35 82 1152 2
text 35 102 1152 3
text 35 122 1152 4
text 35 142 1152 5
button 15 63 55 56 1 0 1
button 15 82 55 56 1 0 2
button 15 102 55 56 1 0 3
button 15 123 55 56 1 0 4
button 15 143 55 56 1 0 5
[DIALOG d_market TEXT]
Market Stone
Wolf
Maximum Steed
Armor Steed
Volcanic Steed
Nightmare
[DIALOG d_market BUTTON]
onbutton=0
//sysmessage= @07a1 Menuyu Kapattiniz.
on=1
if !(<src.restest 5 src.act.tag0.market>)
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.act.tag0.market
src.newitem i_wolf
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
on=2
if !(<src.restest 5 src.act.tag0.market>)
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.act.tag0.market
src.newitem i_maximumsteed
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
on=3
if !(<src.restest 5 src.act.tag0.market>)
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.act.tag0.market
src.newitem i_armorsteed
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
on=4
if !(<src.restest 5 src.act.tag0.market>)
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.act.tag0.market
src.newitem i_volcanicsteed
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
on=5
if !(<src.restest 5 src.act.tag0.market>)
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.act.tag0.market
src.newitem i_nightmare
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
[plevel 1]
market
[function market]
src.sysmessage @07a1,,1 Hesabinizda:<eval <src.act.tag0.market>> TL Bulunuyor.
[ITEMDEF i_5tl]
id i_Deed
name Mobil TL
type t_deed
on=@create
color 07a1
attr attr_decay
on=@dclick
if !(<src.findid.i_5tl>)
src.sysmessage @0823 Catanizda Mobil TL Deed Bulunmuyor.
return 1
else
src.act.tag0.market +=5
src.message @07a1,,1 Hesabiniza 5 TL Aktardiniz.
src.consume 1 i_5tl
return 1
on=@click
message @07a1,,1 [Mobil Market]
message @07a1,,1 5 TL
return 1
[EOF]Evet Arkadaşlar Sorunum Şu Alısveris Yapılmıyor ve Deed'e Tıklayınca Hesaba Para Gelmesi Lazim Ama Yapamadım Kodu Aklıma Gelmedı Yardımcı Olursanız Sevinirim Teşekkür Ederim Şimdiden.
if (<src.findid.i_5tl>)
src.tag0.market +=5
src.message @07a1,,1 Hesabına 5 Tl yüklenmiştir.
src.consume 1 i_5tl
else
src.sysmessage @07a1,,1 Çantanızda Mobil TL deed bulunmuyor.
return 1
endifDeed ile TL yüklemeyi yukarıda verdiğim kod ile sorunsuz kullanabilirsiniz.
[itemdef i_market_stone]
id=i_grave_stone
name Market
on=@create
color=07a1
attr attr_move_never
one=@click
message @0484,,1 <name>
return 1
ON=@DClick
If (<distance> < 3)
sdialog d_market
return 1
else
src.sysmessage @38,1,1 Uzaksiniz.
return 1
endif
[DIALOG d_market] //SPECIAL PLACES
50,50
nomove
resizepic 5 5 83 210 250
text 35 20 38 0
text 35 62 1152 1
text 35 82 1152 2
text 35 102 1152 3
text 35 122 1152 4
text 35 142 1152 5
button 15 63 55 56 1 0 1
button 15 82 55 56 1 0 2
button 15 102 55 56 1 0 3
button 15 123 55 56 1 0 4
button 15 143 55 56 1 0 5
[DIALOG d_market TEXT]
Market Stone
Wolf
Maximum Steed
Armor Steed
Volcanic Steed
Nightmare
[DIALOG d_market BUTTON]
onbutton=0
//sysmessage= @07a1 Menuyu Kapattiniz.
on=1
if ! <src.restest 5 src.tag0.market>
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.tag0.market
src.newitem i_wolf
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
on=2
if !(<src.restest 5 src.tag0.market>)
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.tag0.market
src.newitem i_maximumsteed
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
on=3
if !(<src.restest 5 src.tag0.market>)
src.sysmessage @07a1,,1 Hesabinizda 5 TL Bulunmuyor.
else
src.consume 5 src.tag0.market
src.newitem i_armorsteed
src.act.bounce
src.message @07a1,,1 Wolf Aldiniz.
endif
on=4
if (<dsrc.tag0.market> >= 7)
src.newitem i_pet_horse_brown_dk
src.act.bounce
src.act.more1 c_m_unicorn
src.act.color 0481
src.act.name Unicorn
src.tag0.market -= 7
src.message @07a1,,1 Unicorn Aldiniz.
return1
else
src.sysh_trk 7 TL'niz bulunmamaktadir.
return 1
endif
on=5
if (<dsrc.tag0.market> >= 15)
src.newitem i_pet_horse_brown_dk
src.act.bounce
src.act.more1 c_m_nightmare
src.act.color 0901
src.act.name Nightmare
src.tag0.market -= 15
src.message @07a1,,1 Nightmare Aldiniz.
return1
else
src.sysh_trk 15 TL'niz bulunmamaktadir.
return 1
endif
[plevel 1]
market
[function market]
src.sysmessage @6336 Hesabinizda: <eval <src.tag0.market>> TL Bulunuyor.
[ITEMDEF i_1tl]
id 7148
name Mobil TL
type t_deed
on=@create
color 07e5
attr attr_decay
on=@dclick
if !(<src.findid.i_1tl>)
src.sysmessage @0823 Catanizda Mobil TL Deed Bulunmuyor.
return 1
else
src.tag0.market +=1
src.message @07a1,,1 Hesabiniza 1 TL Aktardiniz.
src.consume 1 i_1tl
return 1
on=@click
message @6336 [Mobil Market]
message @07a1,,1 1 TL
return 1
[ITEMDEF i_5tl]
id 7148
name Mobil TL
type t_deed
on=@create
color 07e5
attr attr_decay
on=@dclick
if !(<src.findid.i_5tl>)
src.sysmessage @0823 Catanizda Mobil TL Deed Bulunmuyor.
return 1
else
src.tag0.market +=5
src.message @07a1,,1 Hesabiniza 5 TL Aktardiniz.
src.consume 1 i_5tl
return 1
on=@click
message @6336,,1 [Mobil Market]
message @07a1,,1 5 TL
return 1
[EOF]SAdece Mareyi Yaptım diğerlerini ona göre editleyebilirsin..
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Stack sorunu
Son cevap: 17-06 01:00 · Son yazan: Athynas · Mesaj: 18 · Görüntü: 6341
|
Konsol Hataları | 17-06 01:00 | 18 | 6341 | |
|
|
Safe alanda lag sorunu
Son cevap: 07-12 00:26 · Son yazan: Eren19944 · Mesaj: 8 · Görüntü: 3353
|
Konsol Hataları | 07-12 00:26 | 8 | 3353 | |
|
|
Binek çanta açma sorunu
Son cevap: 16-10 11:40 · Son yazan: Skandal · Mesaj: 4 · Görüntü: 2786
|
NPC Script Yardımı | 16-10 11:40 | 4 | 2786 | |
|
|
Ev duvarları ve deed sorunu
Son cevap: 12-08 20:07 · Son yazan: Eren19944 · Mesaj: 5 · Görüntü: 2774
|
Script Yardımı | 12-08 20:07 | 5 | 2774 | |
|
|
Client ekranı büyütme sorunu
Son cevap: 29-09 20:21 · Son yazan: worldofsosaria · Mesaj: 8 · Görüntü: 5608
|
Client ve Account Sistemleri | 29-09 20:21 | 8 | 5608 |