29.12.2016, 07:29
Hello guys!I have an error with a system on mysql:
Error code:
Line of error:
All the code:
How can I resolve that error?
Error code:
Код:
error 035: argument type mismatch (argument 1)
Код:
mysql_query(sql);
Код:
forward Save_Garages();
public Save_Garages()
{
for(new i=0; i < garageCount+1; i++)
{
new sql[256];
format(sql,sizeof(sql),"UPDATE `garages` SET \
`Owner`='%s',\
`Owned`='%d',\
`Locked`='%d',\
`Price`='%d',\
`PosX`='%f',\
`PosY`='%f',\
`PosZ`='%f',\
`Interior`='%d',\
`UID`='%d'\
WHERE `UID`='%d'",
gInfo[i][Owner],
gInfo[i][Owned],
gInfo[i][Locked],
gInfo[i][Price],
gInfo[i][PosX],
gInfo[i][PosY],
gInfo[i][PosZ],
gInfo[i][Interior],
gInfo[i][UID],
gInfo[i][UID]);
mysql_query(sql);
}
}


