Tag Mismatch
#7

pawn Код:
Payday()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        ..................................................
       
    new Float:cateoreprimeste, Float:secundejucate = PlayerInfo[i][pSecundeJucate];
        cateoreprimeste = secundejucate / 3600;
       
        new Float:cateoreavea = PlayerInfo[i][pOreJucate];
        cateoreavea += cateoreprimeste;

    new szStr[ 32 ];
    format( szStr, sizeof(szStr), "%.2f", cateoreavea);
        PlayerInfo[i][pOreJucate] = cateoreavea; -------------------------------- here's the error
       
    if(PlayerInfo[i][pRentHouseID] != 0)
    {
       PlayerInfo[i][pBankMoney] -= HousesInfo[hid][hRentPrice];
       HousesInfo[hid][hMoney] += HousesInfo[hid][hRentPrice];
       totalearnings = totalearnings-HousesInfo[hid][hRentPrice];
    }  
           totalearnings = totalearnings+interest;
       
       SendClientMessage(i,-1,"---------------------------------PAYDAY---------------------------------");
       format(stringy21, sizeof(stringy21), "Salariu: %s$ | Bani in banca: %s$ | Dobanda: %s$ | Taxa: %s$            (10 procente) | Ore Jucate: %.2f", AddCommasToInt(paycheck), AddCommasToInt(PlayerInfo[i][pBankMoney]),      AddCommasToInt(interest), AddCommasToInt(taxa),szStr);
        ..................................................
}
Reply


Messages In This Thread
Tag Mismatch - by qUneT - 02.10.2016, 20:51
Re: Tag Mismatch - by CannonBolt - 02.10.2016, 20:54
Re: Tag Mismatch - by qUneT - 02.10.2016, 20:57
Re: Tag Mismatch - by CannonBolt - 02.10.2016, 20:58
Re: Tag Mismatch - by iLearner - 02.10.2016, 21:01
Re: Tag Mismatch - by qUneT - 02.10.2016, 21:01
Re: Tag Mismatch - by DavidGravelli - 02.10.2016, 21:02
Re: Tag Mismatch - by Kaliber - 02.10.2016, 21:05
Re: Tag Mismatch - by iLearner - 02.10.2016, 21:07
Re: Tag Mismatch - by qUneT - 02.10.2016, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)