Problem
#1

Код:
stock SaveExecCMDS(playerid, const string[], &str)
{
	new uns[MAX_PLAYER_NAME];
	GetPlayerName(playerid, uns, sizeof(uns));
	mysql_format(handle,string, sizeof(string), "INSERT INTO `logExecCmds`(`Player`, `Command`, `DateTime`, `ECount`) VALUES ('%s','%s','%s','%d')", uns, string, RegEx(), str);
	mysql_tquery(handle,string, "", "");
	return 1;
}

stock SaveNewsReporterActivity(playerid, const string[], &str)
{
	new uns[MAX_PLAYER_NAME];
	GetPlayerName(playerid, uns, sizeof(uns));
	mysql_format(handle,string, sizeof(string), "INSERT INTO `NewsReporterActivity`(`Player`, `Command`, `DateTime`, `ECount` , `ZI`) VALUES ('%s','%s','%s','%d', '%s')", uns, string, RegEx(), str, GetWeekDay() );
	mysql_tquery(handle,string, "", "");
	return 1;
}
PHP код:
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1861) : error 035argument type mismatch (argument 2)
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1861) : warning 224indeterminate array size in "sizeof" expression (symbol "")
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1862) : error 035argument type mismatch (argument 2)
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1870) : error 035argument type mismatch (argument 2)
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1870) : warning 224indeterminate array size in "sizeof" expression (symbol "")
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1871) : error 035argument type mismatch (argument 2
Reply


Messages In This Thread
Problem - by Jimmi - 02.09.2015, 14:21
Re: Problem - by Jimmi - 02.09.2015, 16:30
Re: Problem - by Yashas - 02.09.2015, 17:42
Re: Problem - by Jimmi - 05.09.2015, 20:37
Re: Problem - by bgedition - 05.09.2015, 20:42
Re: Problem - by Jimmi - 05.09.2015, 20:48
Re: Problem - by bgedition - 05.09.2015, 20:58
Re: Problem - by Jimmi - 05.09.2015, 21:10
Re: Problem - by bgedition - 05.09.2015, 21:16

Forum Jump:


Users browsing this thread: 4 Guest(s)