Color wont change
#9

i've already commented these line

Quote:

/*mysql_fetch_field_row(savestr, "pLanguage"); pInfo[playerid][pLanguage] = strval(savestr);
mysql_fetch_field_row(savestr, "pSkin"); pInfo[playerid][pSkin] = strval(savestr); SetPlayerSkin(playerid, pInfo[playerid][pSkin]);
mysql_fetch_field_row(savestr, "pGodmode"); pInfo[playerid][pGodmode] = strval(savestr);
mysql_fetch_field_row(savestr, "pAutoR"); AutoRepair[playerid] = strval(savestr);
mysql_fetch_field_row(savestr, "pMoney"); pInfo[playerid][pMoney] = strval(savestr);
mysql_fetch_field_row(savestr, "pAdminLevel"); pInfo[playerid][pAdminLevel] = strval(savestr);
mysql_fetch_field_row(savestr, "pVipLevel"); pInfo[playerid][pVipLevel] = strval(savestr);
mysql_fetch_field_row(savestr, "pWeek"); pInfo[playerid][pWeek] = strval(savestr);
mysql_fetch_field_row(savestr, "pDay"); pInfo[playerid][pDay] = strval(savestr);
mysql_fetch_field_row(savestr, "pHour"); pInfo[playerid][pHour] = strval(savestr);
mysql_fetch_field_row(savestr, "pMin"); pInfo[playerid][pMin] = strval(savestr);
mysql_fetch_field_row(savestr, "pSec"); pInfo[playerid][pSec] = strval(savestr);
mysql_fetch_field_row(savestr, "pKills"); pInfo[playerid][pKills] = strval(savestr);
mysql_fetch_field_row(savestr, "pDeaths"); pInfo[playerid][pDeaths] = strval(savestr);
mysql_fetch_field_row(savestr, "pPUH"); pInfo[playerid][pPUH] = strval(savestr);
mysql_fetch_field_row(savestr, "pScore"); pInfo[playerid][pScore] = strval(savestr); SetPlayerScore(playerid, pInfo[playerid][pScore]);
mysql_fetch_field_row(savestr, "pRacewon"); pInfo[playerid][pRacewon] = strval(savestr);
mysql_fetch_field_row(savestr, "pUseCol"); pInfo[playerid][pUseCol] = strval(savestr);
mysql_fetch_field_row(savestr, "pColor"); strmid(pInfo[playerid][pColor],savestr, 0, strlen(savestr), 15);
mysql_fetch_field_row(savestr, "pUseTag"); pInfo[playerid][pUseTag] = strval(savestr);
mysql_fetch_field_row(savestr, "pVipTag"); format(pInfo[playerid][pVipTag], 49, savestr);
mysql_fetch_field_row(savestr, "pUseTagCol"); pInfo[playerid][pUseTagCol] = strval(savestr);
mysql_fetch_field_row(savestr, "pVipTagCol"); format(pInfo[playerid][pVipTagCol], 9, savestr);
mysql_fetch_field_row(savestr, "pUsePos"); pInfo[playerid][pUsePos] = strval(savestr);
mysql_fetch_field_row(savestr, "pA"); pInfo[playerid][pA] = strval(savestr);
mysql_fetch_field_row(savestr, "pX"); pInfo[playerid][pX] = strval(savestr);
mysql_fetch_field_row(savestr, "pY"); pInfo[playerid][pY] = strval(savestr);
mysql_fetch_field_row(savestr, "pZ"); pInfo[playerid][pZ] = strval(savestr);
mysql_fetch_field_row(savestr, "pHasSavedPos"); pInfo[playerid][pHasSavedPos] = strval(savestr);*/

any other suggestion?

EDIT:

i've already change the code into
pawn Код:
sscanf(Query, "p<|>s[24]s[64]s[16]iiiiiiiiiiiiiiiiis[24]is[24]iffffiiii",
                        pInfo[playerid][pUsername],
                        pInfo[playerid][pPassword],
                        pInfo[playerid][pIP],
                        pInfo[playerid][pLanguage],
                        pInfo[playerid][pMoney],
                        pInfo[playerid][pAdminLevel],
                        pInfo[playerid][pVipLevel],
                        pInfo[playerid][pWeek],
                        pInfo[playerid][pDay],
                        pInfo[playerid][pHour],
                        pInfo[playerid][pMin],
                        pInfo[playerid][pSec],
                        pInfo[playerid][pKills],
                        pInfo[playerid][pDeaths],
                        pInfo[playerid][pSkin],
                        pInfo[playerid][pGodmode],
                        AutoRepair[playerid],
                        pInfo[playerid][pUseCol],
                        pInfo[playerid][pColor],
                        pInfo[playerid][pUseTag],
                        pInfo[playerid][pVipTag],
                        pInfo[playerid][pUseTagCol],
                        pInfo[playerid][pVipTagCol],
                        pInfo[playerid][pUsePos],
                        pInfo[playerid][pA],
                        pInfo[playerid][pX],
                        pInfo[playerid][pY],
                        pInfo[playerid][pZ],
                        pInfo[playerid][pHasSavedPos],
                        pInfo[playerid][pScore],
                        pInfo[playerid][pPUH],
                        pInfo[playerid][pRacewon]);
how it's look before:
pawn Код:
sscanf(Query, "p<|>s[24]s[64]s[16]iiiiiiiiiiiiiiis[16]is[24]is[24]iffffiiii",
                        pInfo[playerid][pUsername],
                        pInfo[playerid][pPassword],
                        pInfo[playerid][pIP],
                        pInfo[playerid][pLanguage],
                        pInfo[playerid][pMoney],
                        pInfo[playerid][pAdminLevel],
                        pInfo[playerid][pVipLevel],
                        pInfo[playerid][pWeek],
                        pInfo[playerid][pDay],
                        pInfo[playerid][pHour],
                        pInfo[playerid][pMin],
                        pInfo[playerid][pSec],
                        pInfo[playerid][pKills],
                        pInfo[playerid][pDeaths],
                        pInfo[playerid][pSkin],
                        pInfo[playerid][pGodmode],
                        AutoRepair[playerid],
                        pInfo[playerid][pUseCol],
                        pInfo[playerid][pColor],
                        pInfo[playerid][pUseTag],
                        pInfo[playerid][pVipTag],
                        pInfo[playerid][pUseTagCol],
                        pInfo[playerid][pVipTagCol],
                        pInfo[playerid][pUsePos],
                        pInfo[playerid][pA],
                        pInfo[playerid][pX],
                        pInfo[playerid][pY],
                        pInfo[playerid][pZ],
                        pInfo[playerid][pHasSavedPos],
                        pInfo[playerid][pScore],
                        pInfo[playerid][pPUH],
                        pInfo[playerid][pRacewon]);
and tried to change the pColor inside of phpMyAdmin too. but it still not working
Reply


Messages In This Thread
Color wont change - by AiRaLoKa - 11.05.2014, 08:48
Re: Color wont change - by Ciandlah - 11.05.2014, 09:00
Re: Color wont change - by DaniceMcHarley - 11.05.2014, 09:00
Re: Color wont change - by AiRaLoKa - 11.05.2014, 09:08
Re: Color wont change - by AiRaLoKa - 11.05.2014, 11:29
Re: Color wont change - by Konstantinos - 11.05.2014, 11:31
Re: Color wont change - by AiRaLoKa - 11.05.2014, 11:35
Re: Color wont change - by Konstantinos - 11.05.2014, 11:37
Re: Color wont change - by AiRaLoKa - 11.05.2014, 11:41
Re: Color wont change - by AiRaLoKa - 12.05.2014, 04:48

Forum Jump:


Users browsing this thread: 2 Guest(s)