![]() |
|
ps.dta change automaticaly to g_iCountry=(INDEX)3; - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128) +----- Thread: ps.dta change automaticaly to g_iCountry=(INDEX)3; (/showthread.php?tid=4807) |
- cristiangramosa - 08-07-2021 Hey bros! My client switches from nation 8 to nation 3 in ps.dta every time I close it and open it again, anyone knows how i can fix this? Thx for advance. - Joker - 08-07-2021 did u compiled in the right language? - Reza - 08-07-2021 he is using my files lmao - cristiangramosa - 08-07-2021 1 hour ago, Joker said: did u compiled in the right language? Yeah yeah... ? - cristiangramosa - 08-07-2021 15 minutes ago, Reza said: he is using my files lmao Hey, Reza! I downloaded your files here on the forum, is there any problem using them? - dethunter12 - 08-19-2021 try modifying where its setting the value instead of checking for an equal condition maybe that will help fix it. Look for this in reza's code if (g_iCountry == RUSSIA) nBoxWidth = m_pUIDrawPort->GetTextWidth(myNick) + 13; else if (g_iCountry = THAILAND) { nBoxWidth = FindThaiLen(myNick) + 13; }else Modify it to this if (g_iCountry == RUSSIA) nBoxWidth = m_pUIDrawPort->GetTextWidth(myNick) + 13; else if (g_iCountry == THAILAND) { nBoxWidth = FindThaiLen(myNick) + 13; }else I believe thats why its setting the country to THAILAND because this statment was mising an == sign . == checks if true = assigns the value |