[PROBLEM] mysql_function_query
#1



EDIT: I was using an outdated version of the SQL plugin **facepalm** Has been fixed!



Hello!

After a 1 year break of scripting, I tried picking it up again.
But I'm receiving this error:

Code:
C:\Users\Milan\Music\MilanosieRP.pwn(1154) : error 017: undefined symbol "mysql_function_query"
With this line:


pawn Code:
forward SaveSQL(playerid);
public SaveSQL(playerid)
{
    new query[1500];
    format(query, sizeof(query),"UPDATE userdata SET Cash=%d, Bank=%d,Faction=%d,FactionRank=%d,Phonetype=%d,PhoneNumber=%d,Job=%d,House=%d,Bizz=%d WHERE UserName='%s'",PlayerInfo[playerid][Cash],PlayerInfo[playerid][Bank],PlayerInfo[playerid][Faction],PlayerInfo[playerid][FactionRank],PlayerInfo[playerid][PhoneType],PlayerInfo[playerid][PhoneNumber],PlayerInfo[playerid][Job],PlayerInfo[playerid][House],PlayerInfo[playerid][Bizz], GetPlayerNameEx(playerid));
    mysql_function_query(ServerInfo[MySQL], query, true, "Something", "i", playerid);
    return 1;
}
It used to work one year ago, but now it doesn't. Any idea what is going on? Am I using the wrong INCLUDE, plugin, or anything related?
Reply
#2

try mysql_query?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)