Command doesn't update floats.
#1

When you /editfaction a list comes up. If you choose floats or integers to change, it seems to either display 0.00000(floats) or a random number around 50(integer) and doesn't want to update the correct input.

pawn Code:
if(ListItem[playerid] == 2)
            {
                format(GlobalQuery, sizeof(GlobalQuery), "UPDATE `factions` SET `IntX` = %0.2f WHERE `FacID` = %d", inputtext, FID[playerid]);
                mysql_function_query(MySQLConnection, GlobalQuery, true, "Query", "");
                format(GlobalString, sizeof(GlobalString), "Interior X set.", inputtext);
                SendClientMessage(playerid, COLOR_WHITE, GlobalString);
                FID[playerid] = 0;
                ListItem[playerid] = 0;
            }
Reply


Messages In This Thread
Command doesn't update floats. - by BleverCastard - 21.03.2015, 16:41
Re: Command doesn't update floats. - by Loot - 21.03.2015, 16:46
Re: Command doesn't update floats. - by BleverCastard - 21.03.2015, 16:49
Re: Command doesn't update floats. - by Emmet_ - 21.03.2015, 16:57
Re: Command doesn't update floats. - by BleverCastard - 21.03.2015, 22:54
Re: Command doesn't update floats. - by Konstantinos - 21.03.2015, 22:59
Re: Command doesn't update floats. - by BleverCastard - 22.03.2015, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)