-
Similar Content
-
Problema turf
By Soryn.,
- 3 answers
- 262 views
-
- 1 reply
- 179 views
-
Problema
By ImJustSlim,
- 3 answers
- 286 views
-
- 2 replies
- 158 views
-
- 1 answer
- 312 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
CristisiCristiana
Problema intalnita (descriere):Am gasit pe net un sistem smecher de prieteni dar nu stiu de mysql foloseste, oricum da multe erori...Ma poti ajuta sa fac functile pentru r6?
Ero(area / rile) / warning-(ul / urile):
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?:Da, dar nu inteleg de pe wiky
forward LoadData(playerid);
public LoadData(playerid)
{
new szQuery[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
mysql_real_escape_string(name, PlayerInfo[playerid][pUsername], mysql_iConnectionHandle[0], MAX_PLAYER_NAME);
format(szQuery, sizeof szQuery, "SELECT * FROM `accountdb` WHERE `Username` = '%s'", PlayerInfo[playerid][pUsername]);
mysql_function_query(mysql_iConnectionHandle[0], szQuery, true, "OnQueryFinish", "ii", THREAD_ACCOUNT_LOADDATA, playerid);
return 1;
}
Link to comment
Share on other sites
10 answers to this question
Recommended Posts