Mysql one question - 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 one question (
/showthread.php?tid=336934)
Mysql one question -
Jows - 24.04.2012
Hallo!

I have this question,
how make the ID system?
like this code:
pawn Код:
PlayerInfo[playerid][pSQLID]
how make this? or somthing this? have some tutoriols
Re: Mysql one question -
[HiC]TheKiller - 24.04.2012
I take it that you just want to retrieve the ID of a player and store it in that variable. For registered users, just use the select statement with mysql_fetch_int or if the player was recently registered, use [
https://sampwiki.blast.hk/wiki/MySQL#mysql_insert_id]mysql_insert_id[/URL] to retrieve the ID that the player was assigned.
Re: Mysql one question -
Jows - 24.04.2012
Ok, i just make my owned system
but tnx for post!