Help in speed boast + sscanf help + float help
#2

Well, amount should be a float.
pawn Код:
new Float: amount;

//Speedvalue[playerid] should also be defined as a Float
And I'm not sure which version of MySQL you're using, but I'm pretty sure 'format' should be 'mysql_format':
pawn Код:
mysql_format(handleid, gsQuery, sizeof gsQuery, "UPDATE `accounts` SET `Speedvalue` = %f WHERE `Key` = %d",Speedvalue[playerid],PlayerInfo[ playerid ][ AccID ]);

mysql_query(handleid, gsQuery);
Reply


Messages In This Thread
Help in speed boast + sscanf help + float help - by AleemIqbal1 - 01.08.2015, 06:11
Re: Help in speed boast + sscanf help + float help - by [XST]O_x - 01.08.2015, 11:05
Re: Help in speed boast + sscanf help + float help - by AleemIqbal1 - 02.08.2015, 05:44
Re: Help in speed boast + sscanf help + float help - by CraTzy - 29.08.2015, 02:11

Forum Jump:


Users browsing this thread: 1 Guest(s)