12.12.2015, 22:46
I have a problem, i get this error yq10571.pwn(2395) : error 035: argument type mismatch (argument 1)
Line 2395 is mysql_query(SQL ,var);
and all the content is
public HUpdate(hid, type)
{
new var[256];
switch(type)
{
case hExitxx:
{
format(var, sizeof(var), "UPDATE `houses` SET `Exitx`='%f' WHERE `ID`='%d'",HouseInfo[hid][hExitx], hid);
mysql_query(SQL ,var);
}
help me with this error pls !!!
Line 2395 is mysql_query(SQL ,var);
and all the content is
public HUpdate(hid, type)
{
new var[256];
switch(type)
{
case hExitxx:
{
format(var, sizeof(var), "UPDATE `houses` SET `Exitx`='%f' WHERE `ID`='%d'",HouseInfo[hid][hExitx], hid);
mysql_query(SQL ,var);
}
help me with this error pls !!!