Mysql to sscanf
#1

Код:
	SetPlayerSkin( playerid, SAVEREALSKIN[ playerid ] );
   	new
		fetch[16],
	    Query[256];

    format(Query, sizeof(Query), "SELECT * FROM `players` WHERE Vardas = '%s'", GetPlayerNameEx[playerid]);
    mysql_query(Query);
	mysql_store_result( );
	mysql_retrieve_row( );
	mysql_fetch_field_row( fetch,"RealSkin" );          SAVEREALSKIN[ playerid ] = strval(fetch);   	SetPlayerSkin(playerid, SAVEREALSKIN[ playerid ]);
    mysql_free_result();
I want all this script convert to sscanf because mysql crashing my server.
Reply


Messages In This Thread
Mysql to sscanf - by lukysnba - 26.01.2014, 08:14
Re: Mysql to sscanf - by Excelize - 26.01.2014, 09:25

Forum Jump:


Users browsing this thread: 1 Guest(s)