Sosyal açıldı! Bir göz at → Hemen gir →

YARDIM HOOK PUS TL para birimini oyun içi coins (noah) olarak değiştirme

izmerle112

KY Kıdemli Üye
Yardımsever
KAYIT
15 Şub 2021
Mesajlar
204
Çözümler
3
Tepki puanı
18
Kullanılan Source
HSACS, ISTIRAP
İyi günler forum ailesi, yine farkli ve değişik bir yardım talebi ile karşınızdayım :)

HSACS kullanıyorum, ve powerupstore eklentisinde KC & TL para birimlerinden TL'yi noah (coins)'a çevirmeye çalışıyorum.

Yardımcı olabilecek var mı aranızda?

Şimdiden teşekkürler
 

deadlowe

KY Saygın Üye
Yardımsever
Server Sahibi
KAYIT
16 Nis 2023
Mesajlar
459
Çözümler
14
Tepki puanı
305
Web
zeroonline.com.tr

-

hPowerUpStore.cpp

Kod:
**Eski kod:**

g_pMain->SetString(pus_items[j].price,string_format(xorstr("%s %s"), g_pMain->StringHelper->NumberFormat(tmpList.Price).c_str(), (tmpList.isTlBalance == 1 ? "TL" : "KC")));



**Yeni kod:**

g_pMain->SetString(pus_items[j].price,string_format(xorstr("%s %s"), g_pMain->StringHelper->NumberFormat(tmpList.Price).c_str(), (tmpList.isTlBalance == 1 ? "coins" : "KC")));



**Eski kod:**

std::string ncash = string_format("%s %s", g_pMain->StringHelper->NumberFormat(Price).c_str(), (PriceType == 1 ? "TL" : " KnightCash"));



**Yeni kod:**

std::string ncash = string_format("%s %s", g_pMain->StringHelper->NumberFormat(Price).c_str(), (PriceType == 1 ? "coins" : " KnightCash"));



**Eski kod:**

std::string ncash = string_format("%s %s", g_pMain->StringHelper->NumberFormat(Price).c_str(), (PriceType == 1 ? "TL" : " KnightCash"));



**Yeni kod:**

std::string ncash = string_format("%s %s", g_pMain->StringHelper->NumberFormat(Price).c_str(), (PriceType == 1 ? "coins" : " KnightCash"));



PowerUpStore.cpp



**Eski kod:**

pus_items[j].price->SetString(string_format(xorstr("%s %s"), Engine->StringHelper->NumberFormat(tmpList.Price).c_str(),(tmpList.isTlBalance==1 ? "TL" : "KC")));



**Yeni kod:**

pus_items[j].price->SetString(string_format(xorstr("%s %s"), Engine->StringHelper->NumberFormat(tmpList.Price).c_str(),(tmpList.isTlBalance==1 ? "coins" : "KC")));



**Eski kod:**

std::string ncash = string_format("%s %s", Engine->StringHelper->NumberFormat(Price).c_str(),(PriceType==1 ? "TL" :" KnightCash"));



**Yeni kod:**

std::string ncash = string_format("%s %s", Engine->StringHelper->NumberFormat(Price).c_str(),(PriceType==1 ? "coins" :" KnightCash"));



**Eski kod:**

std::string ncash = string_format("%s %s", Engine->StringHelper->NumberFormat(Price).c_str(), (PriceType == 1 ? "TL" : " KnightCash"));



**Yeni kod:**

std::string ncash = string_format("%s %s", Engine->StringHelper->NumberFormat(Price).c_str(), (PriceType == 1 ? "coins" : " KnightCash"));



HSACSEngine.cpp



**Eski kod:**

g_pMain->WriteInfoMessageExt((char*)string_format(xorstr("Received %d tl balance."), sTLCash - g_pMain->pClientUIState->m_iBalance).c_str(), 0xFFF2AB);



**Yeni kod:**

g_pMain->WriteInfoMessageExt((char*)string_format(xorstr("Received %d coins."), sTLCash - g_pMain->pClientUIState->m_iBalance).c_str(), 0xFFF2AB);



**Eski kod:**

g_pMain->WriteInfoMessageExt((char*)string_format(xorstr("Lost %d tl balance."), g_pMain->pClientUIState->m_iBalance - sTLCash).c_str(), 0xFF0000);



**Yeni kod:**

g_pMain->WriteInfoMessageExt((char*)string_format(xorstr("Lost %d coins."), g_pMain->pClientUIState->m_iBalance - sTLCash).c_str(), 0xFF0000);


bu sekilde güncellerseniz istediginiz olur gibi
 
Anasayfa Kayıt ol Giriş yap
Üst Alt