04.07.2015, 12:45
Quote:
Код:
[05:13:41] UPDATE `accs` SET `pName` = Test_Account, `pSecKey` = 0, `pLevel` = 0, `pRespect` = 0, `pSkin` = 0, `pIP` = 255.255.255.255, `pAdmin` = 0, `pVIP` = 0, `pMoney` = 0, `pGender` = 0, `pAge` = 0, `pBank` = 0, `pBanned` = 0, `pBans` = 0, `pBannedBy` = , `pBanReason` = , `pBanDate` = , `pBanTime` = , `pBanAppealable` = 0, `pFaction` = 0, `pRank` = 0, `pFacSkin` = 0, `pTester` = 0, `pTutStep` = 0, `pFinishedTut` = 0, `pMuted` = 1125808864, `pPosX` = -80.625, `pPosY` = 1.578, `pPosZ` = 132.06, `pPosA` = 7.006e-45 WHERE `pID` = Also, it doesn't look like you're passing anything for pID? Is the integer for pID being defined and passed or is it just being cut off? Your string might not be big enough for the query if so. |
pIP shows the correct ip to me
Код:
pData[playerid][pID] = cache_get_field_content_int(0, "pID");
My string is big enough..
Tables get updated
Testing with quotes right now, will get back to this in a sec.
Using IP as a integer just makes it "50"