MySQL param
#1

Код:
cache_get_row
How to use this function ?
Reply
#2

Have you tried attempting to search?
Reply
#3

Please navigate yourself to this thread for further explanation.

https://sampforum.blast.hk/showthread.php?tid=419858
Reply
#4

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
Reply
#5

Код:
cache_get_row(row, idx, dest[], connectionHandle = 1)
What means "idx" ??
Reply
#6

It's field index so if you have two columns: ID(have field index 0) and nickname(have field index 1).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)