02.09.2015, 14:21
Код:
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 035: argument type mismatch (argument 2)
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1861) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1862) : error 035: argument type mismatch (argument 2)
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1870) : error 035: argument type mismatch (argument 2)
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1870) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Users\Jimmi\Desktop\93.119.25.182-7777\gamemodes\RunStrike.pwn(1871) : error 035: argument type mismatch (argument 2)