ps.dta change automaticaly to g_iCountry=(INDEX)3;
#6

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 



Messages In This Thread
[No subject] - by cristiangramosa - 08-07-2021, 01:47 AM
[No subject] - by Joker - 08-07-2021, 12:38 PM
[No subject] - by Reza - 08-07-2021, 01:31 PM
[No subject] - by cristiangramosa - 08-07-2021, 01:47 PM
[No subject] - by cristiangramosa - 08-07-2021, 01:49 PM
[No subject] - by dethunter12 - 08-19-2021, 04:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)