26.01.2014, 08:14
Код:
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();