error 035: argument type mismatch (argument 2)
#2

Quote:
Originally Posted by Jimmi
Посмотреть сообщение
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);
try this:

Код:
		  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);
Reply


Messages In This Thread
error 035: argument type mismatch (argument 2) - by Jimmi - 04.09.2015, 10:03
Re: error 035: argument type mismatch (argument 2) - by Fancy - 04.09.2015, 10:20
Re: error 035: argument type mismatch (argument 2) - by N0FeaR - 10.10.2015, 07:28

Forum Jump:


Users browsing this thread: 1 Guest(s)