Tipologie server(PvM / PvP): pvm
*Resursă folosită: http://just4metin.ro/ghiduri-tutoriale/ ... 30111.html
*ServerFiles utilizat: de pe just 4 metin2 2089
*Syserr: .....
Poză:
- Poza| Afiseaza codul
def RefreshStatus(self):
money = player.GetElk()
sub adaugi
self.wndMoney.SetFontColor(1.0,1.0,0.2)De aici se modifică culoarea.
def RefreshStatus(self):
money = player.GetElk()
Și înlocuiești cu
def RefreshStatus ( self ):
money = player . GetElk ()
if money <= 100000000 :
self . wndMoney . SetFontColor ( 1.0 , 0.2 , 0.2 )
elif money >= 100000001 and money <= 1000000000 :
self . wndMoney . SetFontColor ( 1.0 , 0.6 , 0.2 )
elif money >= 1000000001 and money <= 1500000000 :
self . wndMoney . SetFontColor ( 1.0 , 1.0 , 0.2 )
elif money >= 1500000001 :
self . wndMoney . SetFontColor ( 0.6 , 1.0 , 0.2 )
self . wndMoney . SetText ( localeInfo . NumberToMoneyString ( money ))
Vezi că trebuie să pui taburile tu altfel îți dă eroare și nu pornește clientul.


Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 52 vizitatori