MySQL param - 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)
+--- Thread: MySQL param (
/showthread.php?tid=461790)
MySQL param -
Mauricee - 03.09.2013
How to use this function ?
Re: MySQL param -
zT KiNgKoNg - 03.09.2013
Have you tried attempting to search?
Re: MySQL param -
Shadow_ - 03.09.2013
Please navigate yourself to this thread for further explanation.
https://sampforum.blast.hk/showthread.php?tid=419858
Re: MySQL param -
Army - 03.09.2013
For example:
pawn Код:
new temp[12];
cache_get_row(0, 1, temp);
PlayerInfo[playerid][pMoney] = strval(temp);
With newest version of plugin just:
pawn Код:
PlayerInfo[playerid][pMoney] = cache_get_row_int(0, 1);
Anyway you can check this for more informations:
https://sampforum.blast.hk/showthread.php?tid=337810
Re: MySQL param -
Mauricee - 03.09.2013
Код:
cache_get_row(row, idx, dest[], connectionHandle = 1)
What means "idx" ??
Re: MySQL param -
Army - 03.09.2013
It's field index so if you have two columns: ID(have field index 0) and nickname(have field index 1).