View Single Post
Old 03/12/2019, 09:25 PM   #7
Edvukas
Little Clucker
 
Join Date: Nov 2018
Posts: 18
Reputation: 0
Default Re: I need help with updating mysql from R5 to R41-4

how about
pawn Code:
mysql_retrieve_row( );
and
pawn Code:
mysql_fetch_field_row
? Sorry, I'm converting whole gamemode to R41-4. btw full code:
pawn Code:
format(Query, sizeof(Query), "SELECT * FROM `players` WHERE Name= '%s'", GetPlayerName(playerid));
    mysql_tquery(g_Sql, Query);
    mysql_retrieve_row( );
    mysql_fetch_field_row( fetch,"Skin" );          SAVESKIN[ playerid ] = strval(fetch);       SetPlayerSkin(playerid, SAVESKIN[ playerid ]);
    mysql_free_result();
Edvukas is offline   Reply With Quote