Adding extra param for OnQueryFinish?
#1

pawn Код:
public OnQueryFinish(query[], resultid, extraid, connectionHandle)
pawn Код:
stock ListFactions(playerid)
{
    mysql_query("SELECT * FROM factions", THREAD_FACTION_LIST, playerid, 1);
}
I need an extra param for OnQueryFinish so i can transfer my variable
for example

pawn Код:
stock ListFactions(playerid)
{
    mysql_query("SELECT * FROM factions", THREAD_FACTION_LIST, playerid, 1, ExtraPARAM);
}

Is it possible?

So later i can use the same variable under the OnQueryFinish callback
Or any other ideas??
Reply
#2

bumpity bump
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)