C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(12145) : error 035: argument type mismatch (argument 2)
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1214 : error 035: argument type mismatch (argument 2) Hear: new query[256], security, security2; mysql_real_escape_string(vInfo[MasinaTrunkID[playerid]][tDrugs], security);//hear format(query, sizeof(string), "UPDATE `vehicles` SET `Drugs`= '%d' WHERE `ID`='%d'", security, playerid); mysql_query(query); mysql_real_escape_string(PlayerInfo[playerid][pDrugs], security2);//hear format(query, sizeof(string), "UPDATE `players` SET `Drugs`= '%d' WHERE `ID`='%d'",security2, playerid); mysql_query(query); |
new query[256], security[50], security2[50]; mysql_real_escape_string(vInfo[MasinaTrunkID[playerid]][tDrugs], security);//hear format(query, sizeof(string), "UPDATE `vehicles` SET `Drugs`= '%d' WHERE `ID`='%d'", security, playerid); mysql_query(query); mysql_real_escape_string(PlayerInfo[playerid][pDrugs], security2);//hear format(query, sizeof(string), "UPDATE `players` SET `Drugs`= '%d' WHERE `ID`='%d'",security2, playerid); mysql_query(query);
new query[256], security[50], security2[50];
mysql_real_escape_string(vInfo[MasinaTrunkID[playerid]][tDrugs], security);//hear
format(query, sizeof(string), "UPDATE `vehicles` SET `Drugs`= '%d' WHERE `ID`='%d'", security, playerid);
mysql_query(query);
mysql_real_escape_string(PlayerInfo[playerid][pDrugs], security2);//hear
format(query, sizeof(string), "UPDATE `players` SET `Drugs`= '%d' WHERE `ID`='%d'",security2, playerid);
mysql_query(query);