Onu yaptım fakat şuan butona tıkladığımda hep 1 item veriyor.
Oraya yazıdığını değil[dialog d_mama]
0,0
nomove
noclose
resizepic 2 2 5170 430 210
dtext 40 4 47 Sayin <src.name>
dtext 40 30 0481 Bineklerinizi iyi besleyin!
tilepic 38 65 <serv.itemdef.i_hay_sheaf.id>
tilepic 38 140 <serv.itemdef.i_fruit_carrot.id>
dtext 218 69 058 Eger almak istediginiz
dtext 218 98 058 binek ise "binek alacam"
dtext 218 127 058 komutunu kullanabilirsiniz.
dtextentry 134 144 90 20 990 2 ?
dtextentry 134 69 90 20 990 1 ?
button 19 69 5601 5605 1 0 1
button 19 144 5601 5605 1 0 2
button 273 151 5549 5550 1 0 3
[dialog d_mama button]
on=1
if !(<isnum <argtxt[1]>>)
src.sysmessage @33,,1 Sadece rakam kullanabilirsiniz.
esleif ((strlen(<argtxt[1]>)) > 3) || ((strlen(<argtxt[1]>)) < 1)
src.sysmessage @33,,1 En az 1 En çok 3 haneli rakam yazabilirsiniz!
return 1
else
src.newitem i_hay_sheaf,<eval <argtxt[1]>>
new.bounce
return 1
endif
endif
On 2
if !(<isnum <argtxt[2]>>)
src.sysmessage @33,,1 Sadece rakam kullanabilirsiniz.
return 1
else
src.newitem i_fruit_carrot,<eval <argtxt[2]>>
new.bounce
return 1
endif
endif
On 3
src.dialog d_binekvendor