MySQL OnPlayerDisconnect problem !
#1

I made new topic ! Please close this.
Reply
#2

Have a look at your mysql log file.
Reply
#3

Any code? I think that saving in OnPlayerDisconnect send wrong value to database
Reply
#4

Where can I find MySQL log?
Reply
#5

Post your code , well make sure you give -deposited money to that player.
Reply
#6

PlayerData[playerid][pAdjustable] = 1;
PlayerData[playerid][pStatus] = 0;
format(string, sizeof(string), "UPDATE players SET Status='%d' WHERE id=%d", PlayerData[playerid][pStatus], PlayerData[playerid][pSQLID]);
mysql_query(string);

That's the code.
Reply
#7

What is the enum for player cash ? No server sided cash?

Post the MySQL log
And enum value for player cash and bank
Reply
#8

Quote:

enum pData
{
pSQLID,
pNume[128],
pKey[64],
pLevel,
pAdmin,
pWipe,
pDonateRank,
gPupgrade,
pConnectTime,
pReg,
pSex,
pAge,
pOrigin,
pCK,
pMuted,
pMuteTime,
pExp,
pMoney,
pAccount,
pCrimes,
pKills,
pDeaths,
pArrested,
pWantedLevel,
pWantedPoints,
pWantedDeaths,
pPhoneBook,
pLottoNr,
pFishes,
pBiggestFish,
pSticle,
pJob,
pPayCheck,
pHeadValue,
pJailed,
pJailTime,
pMats,
pDrugs,
pLeader,
pMember,
pFMember,
pRank,
pChar,
pContractTime,
pDetSkill,
pSexSkill,
pBoxSkill,
pLawSkill,
pMechSkill,
pJackSkill,
pCarSkill,
pNewsSkill,
pDrugsSkill,
pCookSkill,
pFishSkill,
pRromSkill,
pPassport,

Sorry , but where I cand find MySQL log? A have hosted server . Tell me exactly please.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)