2021-03-21, 06:37 PM
(2021-03-21, 05:45 PM)Pinch Wrote: If you're using YSI, just do this:
Code:strcpy(gUserData[playerid][USER_PASSWORD], inputtext);
mysql_format (db_handle, query, sizeof query, "INSERT INTO users (nickname, password) VALUES ('%q', '%e')", gUserData[playerid][USER_NICKNAME], gUserData[playerid][USER_PASSWORD]);
It should work now.
Thank you! I am trying to add y_svar but the compiler throws an error.
Code:
C:\Projects\SAMP\Server\dependencies\YSI-Includes\YSI_Storage\y_svar\y_svar_ini.inc:122 (error) undefined symbol "INI_WriteArray"
Do you know how to fix it?
Code:
#define MODE_NAME "SavedText"
#include <YSI_Storage/y_svar>
I placed it after the "fixes" include. I also tried placing it in a place before "fixes" but it throws other even weirder errors.