SA-MP Forums Archive
[HELP] mySQL LOAD - 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: [HELP] mySQL LOAD (/showthread.php?tid=455400)



[HELP] mySQL LOAD - shulk - 01.08.2013

Hello,
i have problem, im making mySQL mode and i need help.

"Skin" load dont work...

In phpMyAdmin i have skin like this:

http://prntscr.com/1isnnc

Checking player(Is in database)
Код:
PlayerInfo[playerid][pSkin] = cache_get_field_content_int(0, "pSkin");
And register...

Код:
format(query, sizeof(query), "INSERT INTO `players` (Name, pPass, pMoney, pAdmin, pPosX, pPosY, pPosZ, pSkin) VALUES ('%s', '%s', '%d','%d', '%f', '%f', '%f', '%i')", pName, pass, 1000,0,1480.8282,-1771.2572,18.7958,299);
			mysql_function_query(dbHandle, query, false, "OnAccountCreate", "i", playerid);
And else one more problem, when i make /GMX my position not save, when i go /q is good...


Re: [HELP] mySQL LOAD - Yashas - 01.08.2013

Is it saved in the database??Where is the problem??Loading or saving??