Adding extra param for OnQueryFinish? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Adding extra param for OnQueryFinish? (
/showthread.php?tid=198676)
Adding extra param for OnQueryFinish? -
armyoftwo - 12.12.2010
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??
Re: Adding extra param for OnQueryFinish? -
armyoftwo - 15.12.2010
bumpity bump