View Single Post
RoDriX
New Member
Join Date: Oct 2019
Old 10-10-2019 , 10:03   Re: [Levels Ranks] Core 3.0 SR1
Reply With Quote #3

Hi, I have a compilation problem, can anyone help me?



levelsranks.sp
levels_ranks/database.sp(123) : error 105: cannot find method or property Database.Format
levels_ranks/database.sp(123) : error 092: number of arguments does not match definition
Quote:
Line 123: g_hDatabase.Format(sQuery, sizeof(sQuery), "INSERT INTO `%s` (`value`, `steam`, `name`, `lastconnect`) VALUES ('%d', '%s', '%s', '%d');", g_sTableName, !g_iTypeStatistics ? 0 : 1000, g_sSteamID[iClient], GetFixNamePlayer(iClient), GetTime());
levels_ranks/database.sp(226) : error 105: cannot find method or property Database.Format
Quote:
Line 226:
g_hDatabase.Format(sQuery, 1024, "UPDATE `%s` SET `value` = %d, `name` = '%s', `rank` = %d, `kills` = %d, `deaths` = %d, `shoots` = %d, `hits` = %d, `headshots` = %d, `assists` = %d, `round_win` = %d, `round_lose` = %d, `playtime` = %d, `lastconnect` = %d WHERE `steam` = '%s';", g_sTableName, g_iClientData[iClient][ST_EXP], GetFixNamePlayer(iClient), g_iClientData[iClient][ST_RANK], g_iClientData[iClient][ST_KILLS], g_iClientData[iClient][ST_DEATHS], g_iClientData[iClient][ST_SHOOTS], g_iClientData[iClient][ST_HITS], g_iClientData[iClient][ST_HEADSHOTS], g_iClientData[iClient][ST_ASSISTS], g_iClientData[iClient][ST_ROUNDSWIN], g_iClientData[iClient][ST_ROUNDSLOSE], g_iClientData[iClient][ST_PLAYTIME], GetTime(), g_sSteamID[iClient]);
levels_ranks/hooks.sp(27 : warning 203: symbol is never used: "iData"
Quote:
Line 278: void NextFrameRound(any iData)

Last edited by RoDriX; 10-10-2019 at 10:24.
RoDriX is offline