Mysql Saving data problem
#7

PHP код:
    new Query[900];
    
format(Querysizeof(Query), "UPDATE `accounts` SET `Admin` = '%d', `VIP` = '%d', `Money` = '%d', `Kills` = '%d', `Deaths` = '%d', `Score` = '%d' WHERE `Name` = '%e'",
                                  
Player[playerid][Admin],
                                  
Player[playerid][VIP],
                                  
Player[playerid][Money],
                                  
Player[playerid][Kills],
                                  
Player[playerid][Deaths],
                                  
Player[playerid][Score],
                                  
pname(playerid));
    
mysql_query(Query); // which is this line. 
This is my code but I still getting this error: C:\Users\MyPc\Desktop\Samp Server\gamemodes\Basic32.pwn(257) : error 035: argument type mismatch (argument 1)

Can't understand why it's giving an error.
Reply


Messages In This Thread
Mysql Saving data problem - by DeeadPool - 10.04.2017, 08:09
Re: Mysql Saving data problem - by Stev - 10.04.2017, 08:12
Re: Mysql Saving data problem - by Sjn - 10.04.2017, 08:28
Re: Mysql Saving data problem - by DeeadPool - 10.04.2017, 08:56
Re: Mysql Saving data problem - by DeeadPool - 10.04.2017, 20:11
Re: Mysql Saving data problem - by Vince - 10.04.2017, 20:19
Re: Mysql Saving data problem - by DeeadPool - 10.04.2017, 22:27
Re: Mysql Saving data problem - by Sanady - 10.04.2017, 22:49
Re: Mysql Saving data problem - by DeeadPool - 10.04.2017, 22:52
Re: Mysql Saving data problem - by Sanady - 10.04.2017, 23:08

Forum Jump:


Users browsing this thread: 2 Guest(s)