select a certain row - 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: select a certain row (
/showthread.php?tid=239556)
select a certain row -
Hornet600 - 13.03.2011
Im having some troubles trying to figure how i can do it.....
pawn Код:
format(query, sizeof(query),"SELECT * FROM vehicles WHERE Owner='%s' LIMIT 3,1",playerinfo[playerid][Name]);
this query is selecting the player vehicle that he bought and im trying to select the vehicle by row i mean like i made a command /v list and it shows the player vehicles by rows fetch and i need to know how i can select a certain row number to keep scripting my gm. Someone know how i can do it? All help apreciated
exemples /v get 3 = fetch row 3 from vehicles where owner.... etc
Re: select a certain row -
hadzx - 13.03.2011
its [code] not [pawn]
Re: select a certain row -
Hornet600 - 13.03.2011
the pawn tag is here to be used for pawno or not? btw that's not the point of the threat when i saw the reply i was expecting some help
Re: select a certain row -
hadzx - 13.03.2011
oh sorry to get your hopes up il have a look...
Re: select a certain row -
randomkid88 - 13.03.2011
EDIT: nvm, I misread the problem. Sorry