Money indicator
#2

You can use in this function:
Код:
stock GetNum(num) // by Deably boy
{
    new string[256];
    format(string, sizeof(string), "%d", num);
    for(new idx = strlen(string) % 3 == 0 ? 1 : strlen(string) % 3; idx < strlen(string); idx += 4)
    {
     strins(string, ",", idx);
    }
    return string;
}
Reply


Messages In This Thread
Money indicator - by Bocky1337 - 03.05.2012, 14:16
Re: Money indicator - by Accord - 03.05.2012, 14:28
AW: Money indicator - by Bocky1337 - 03.05.2012, 14:39
Re: Money indicator - by Accord - 03.05.2012, 14:43
[No subject] - by Bocky1337 - 03.05.2012, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)