Mysql to sscanf - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mysql to sscanf (
/showthread.php?tid=490313)
Mysql to sscanf -
lukysnba - 26.01.2014
Код:
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.
Re: Mysql to sscanf -
Excelize - 26.01.2014
Uhh dude.
MySQL is for saving things into a database.
Sscanf is for detecting player's IDs and many other things.
I think you're thinking of Dini or YINI.
Dini: (By DracoBlue)
https://sampforum.blast.hk/showthread.php?tid=50
Yini: (By ******(A.K.A. SA:MP God))
https://sampforum.blast.hk/showthread.php?tid=175565
Hope i could help.