Rowall üyesi avatar
Novice
11.9
Merhabalar, bir duello sistemi üzerinde çalışıyorum ve bitmek üzereyken ufak bir sorun çıktı

Playerlarımız bahis'i 0 (sıfır) Olarak belirlediklerinde çantada mutlaka 1 bilet istiyor sorun bu. ilgili kısım ;

if (<src.restest <eval <tag.bahis>> i_bilet>) && (<cont.restest <eval <tag.bahis>> i_bilet>)
cont.consume <eval <tag.bahis>> i_bilet
src.consume <eval <tag.bahis>> i_bilet
else
src.sysmessage @1976,1,1,1 <cont.name> veya sizde <eval <tag.bahis>> Bilet yok..
cont.sysmessage @1976,1,1,1 <src.name> veya sizde <eval <tag.bahis>> Bilet yok..
return 1
endif
JiqLet üyesi avatar
kardeşim öncelikle bune lan diyip lütfen geçme mantık yürütüp i_biletleri bahis taglarından sildim lütfen bir denermisin cidden merak ediyorm :)

if (<src.restest <eval <tag.bahis>> >) && (<cont.restest <eval <tag.bahis>> >)
cont.consume <eval <tag.bahis>> 
src.consume <eval <tag.bahis>> 
else
src.sysmessage @1976,1,1,1 <cont.name> veya sizde <eval <tag.bahis>> Bilet yok..
cont.sysmessage @1976,1,1,1 <src.name> veya sizde <eval <tag.bahis>> Bilet yok..
return 1
endif
Rowall üyesi avatar
Novice
11.9
Sorunu hallettik bununla hiçbir alakası yok, ama düşünmüş yazmışsın tşkler

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.

Benzer Konular