[function temizle]
if (<account.plevel> >5)
dialog d_at_temizle
else
src.sysmessage Developer ustu pleveldakiler kullanabilir.
endif
[DIALOG d_at_temizle]
50, 150
resizepic 1 1 3500 250 150
dhtmlgump 30 10 200 50 0 0 Serverdaki basibos tum atlari silmek istediginize emin misiniz?
dtext 60 92 95 Evet
dtext 60 112 95 Hayir
button 25 90 4006 4007 1 0 1
button 25 110 4006 4007 1 0 0
[DIALOG d_at_temizle button]
on=0
on=1
if (<account.plevel> >5)
forchars 6144
if (<id>==c_horse_brown_dk) || (<id>==c_horse_gray) || (<id>==c_horse_brown_lt) || (<id>==c_horse_tan)
remove
endif
endfor
endif
[eof]
berkanu :[function temizle] if (<account.plevel> >5) dialog d_at_temizle else src.sysmessage Developer ustu pleveldakiler kullanabilir. endif [DIALOG d_at_temizle] 50, 150 resizepic 1 1 3500 250 150 dhtmlgump 30 10 200 50 0 0 Serverdaki basibos tum atlari silmek istediginize emin misiniz? dtext 60 92 95 Evet dtext 60 112 95 Hayir button 25 90 4006 4007 1 0 1 button 25 110 4006 4007 1 0 0 [DIALOG d_at_temizle button] on=0 on=1 if (<account.plevel> >5) forchars 6144 if (<id>==c_horse_brown_dk) || (<id>==c_horse_gray) || (<id>==c_horse_brown_lt) || (<id>==c_horse_tan) remove endif endfor endif [eof]
böyle bişi olabilir temizle dedğinde siler gider her yerdeki horseleri
[function temizle]
forchars 6144
if (<id>==c_horse_brown_dk) || (<id>==c_horse_gray) || (<id>==c_horse_brown_lt) || (<id>==c_horse_tan)
remove
serv.allclients sysmessage @1153,,1 Serverdeki basibos gezen horseler silindi.
endif
endfor
endif
[itemdef i_oto_sil]
name BasibosSiler
id i_grave_stone
type t_eq_script
weight 99999
on=@create
attr=08010
color=07a1
timer 300
on=@click
message @1153 <name>
Return 1
on=@dclick
temizle
return 1
On=@PickUp_Ground
return 1
on=@timer
temizle
timer 300
return 1