merhaba arkadaşlar Bu scriptin doğru olarak çalısması lasım çünkü eksiksiz yazdım diye düşünüyorum ama çalışmıyor hala nedenini bulamadımm
sizce nerde yanlış yapmaşım
[itemdef i_healstone]
ID=i_grave_stone
TYPE=t_grave_stone
NAME=Heal Stone
ON=@Click
MESSAGE item Stone
return 1
ON=@CREATE
COLOR=0525
ATTR=0010
[typedef t_healstone]
ID=i_grave_stone
ON=@CREATE
ATTR=010
COLOR=0455
ON=@dclick
ON=@DCLICK
IF ( <DISTANCE> < 4 )
SRC.SFX 555
DIALOG d_healstonesys
ELSE
SRC.MESSAGE Kutuya ulasamiyorum!
RETURN 1
ENDIF
RETURN 1
src.dialog d_healstone
[DIALOG d_healstone]
0, 0
resizepic 65 20 2620 330 370
button 100 73 1209 1210 1 0 1 // Heal Potion
button 100 98 1209 1210 1 0 2 // Cure Potion
button 100 123 1209 1210 1 0 3 // Refresh Potion
button 100 148 1209 1210 1 0 13 // Bandaj
button 100 173 1209 1210 1 0 4 // Bleeding Potion
button 100 198 1209 1210 1 0 5 // Trance Potion
button 100 223 1209 1210 1 0 6 // Bestform Potion
button 100 248 1209 1210 1 0 7 // Bless Deed
//button 100 273 1209 1210 1 0 8 // bless
//button 100 273 1209 1210 1 0 12 // glacial
button 362 358 1209 1210 1 0 9 // Kapat
85 336 2103 2104 1 0 10 //
85 350 2103 2104 1 0 11 //
text 120 70 990 0
text 275 70 1350 1
text 120 95 990 2
text 275 95 1350 3
text 120 120 990 4
text 275 120 1350 5
text 120 170 990 6
text 275 170 1350 7
text 120 195 990 8
text 275 195 1350 9
text 120 220 990 10
text 275 220 1350 11
text 120 245 990 12
text 275 245 1350 13
//text 120 270 990 14
//text 275 270 1350 15
text 298 355 1345 16 // sys
text 120 45 1152 17
text 102 330 1345 18 // sys
text 102 345 1345 19 // sys
text 260 330 1152 20 // sys
//text 120 270 990 21
//text 275 270 1350 22
text 120 145 990 23
text 275 145 1350 24
[DIALOG d_healstone TEXT]
Heal
Cure
Refresh
Nightsight
Strength
Beastform
Trance
Bandage
Kapat
<serv.name> item Stone
Randomuo
iyi PvP'ler Diler..
Owner StratuS
Glacial Staff
1.500.000
Rare Dye
200.000
[DIALOG d_healstone BUTTON]
ONBUTTON=0
ONBUTTON=1 //Heal
if (<eval <gp>> >= 0)
gpconsume 0
newitem i_potion_healgreat,25
act.bounce
new.cont <src.findlayer(21).uid>
else
src.sysmessage @0799 aaaaaa
endif
RETURN 1
ONBUTTON=2 //Cure
if (<eval <gp>> >= 0)
gpconsume 0
newitem i_potion_curegreat,25
act.bounce
new.cont <src.findlayer(21).uid>
else
src.sysmessage @0799 bbbbbb
endif
RETURN 1
ONBUTTON=3 // Refresh
if (<eval <gp>> >= 0)
gpconsume 0
newitem i_potion_RefreshTotal,25
act.bounce
new.cont <src.findlayer(21).uid>
else
src.sysmessage @0799 bbbb
endif
RETURN 1
ONBUTTON=4 // ngiht
if (<eval <gp>> >= 0)
gpconsume 0
newitem i_potion_Nightsight,25
act.bounce
new.cont <src.findlayer(21).uid>
else
src.sysmessage @0799 bbbbbbb
endif
RETURN 1
ONBUTTON=5 // sttreng
if (<eval <gp>> >= 0)
gpconsume 0
newitem i_potion_Strength,25
act.bounce
new.cont <src.findlayer(21).uid>
else
src.sysmessage @0799 bbbbbbbb
endif
RETURN 1
ONBUTTON=6 // best
if (<eval <gp>> >= 0)
gpconsume 0
newitem i_potion_Beastform,25
act.bounce
new.cont <src.findlayer(21).uid>
else
src.sysmessage @0799 bbbbbbbb
endif
RETURN 1
RETURN 1
ONBUTTON=7 // Bless Deed
if (<eval <gp>> >= 0)
gpconsume 0
newitem i_bandage,25
act.bounce
new.cont <src.findlayer(21).uid>
else
src.sysmessage @0799 bbbbbbbbb
endif
RETURN 1
RETURN 1
ELSE
[EOF]
Bu konu Neran tarafından düzenlendi(2009-07-27 02:17, 15 yıl önce)