17.10.2013, 23:45
Hello samp forum members.. Again I need help with my code..I use r7 plugin and it requires r8 mysql.. (as r15 is out dated I wanted to update it);
Maybe some one could help me.. out..
ENUM:
Error Code:
Error lines:
Maybe some one could help me.. out..
ENUM:
pawn Код:
enum e_pInfo
{
pSQLid,
pPass[129],
pSalt[30],
Float:pHealth,
Float:pPos[4],
pInterior,
pVirtualWorld,
pSkin
}
pawn Код:
warning 202: number of arguments does not match definition
(474) : error 017: undefined symbol "cache_get_row_int"
(475) : warning 202: number of arguments does not match definition
(476) : warning 202: number of arguments does not match definition
(494) : error 017: undefined symbol "cache_get_row_float"
pawn Код:
mysql_real_escape_string(string, esc_string, g_Handle, sizeof(esc_string)); //369
g_PlayerInfo[playerid][pSQLid] = cache_get_row_int(0, 0, g_Handle); //474
cache_get_row(0, 1, g_PlayerInfo[playerid][pPass], g_Handle, 130); //475
cache_get_row(0, 2, g_PlayerInfo[playerid][pSalt], g_Handle, SALT_LENGTH+1);//476
g_PlayerInfo[playerid][pHealth] = cache_get_row_float(0, 4, g_Handle),//494