PDA

View Full Version : [HELP] mySQL LOAD


shulk
01/08/2013, 05:25 PM
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...

Yashas
01/08/2013, 06:06 PM
Is it saved in the database??Where is the problem??Loading or saving??