Mysql one question
#1

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

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#mys..._insert_id[/URL] to retrieve the ID that the player was assigned.
Reply
#3

Ok, i just make my owned system
but tnx for post!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)