Clan tag problem
#7

Quote:
Originally Posted by TheToretto
Посмотреть сообщение
Check out your enum for PlayerInfo, it could be something like "enum E_PLAYER_INFO" or anything, then look for the line which contains "pClanTag" and drop it down here please.

(To help you find the enum, CTRL + F => new PlayerInfo[MAX_PLAYERS][/something.will.be.here] then copy the content of the "[ ]")
// Player Info
enum pInfo {
pID, pUsername[MAX_PLAYER_NAME],
pPass, pStatus,
pLevel, pRespect,
pAdmin, pHelper,
pMoney, pBankMoney,
pHouseKey, pBusinessKey,
pRentedHouse, pFaction,
pMember, pLeader,
pRank, pFactionPunish,
pSex, pAge,
pMuted, pMuteTime,
pJailed, pJailTime,
pWantedLevel, pWantedReason[256],
pWantedTime,
pEmail[64], pSkin,
pContract, pContractValue,
pAcceptedContract,
pLanguage, pBanned,
pCarLicence, pFlyLicence,
pBoatLicence, pBikeLicence,
pGunLicence, pPremiumPoints,
pPremiumAcount, pWalkie,
pWalkieOn, pNumber,
pCellphone, pCellphoneOnline,
pPermGun, pPhoneCredit,
pClanMember, pClanRank,
pClanInvite, pClanid,
pIphone, pLastMessage,
pClanTag, pClanTagOn
}
new PlayerInfo[MAX_PLAYERS][pInfo];
this is the whole enum,pClanTag is the last on the left row,now other things i have on clan tag

its defined for updating in the data base, #define pClanTagx 50,
the case with the clan tag in my UpdateVariable(playerid, varid) function,

case pClanTagx: format(query, sizeof(query), "UPDATE `users` SET `ClanTag` = '%s' WHERE `ID` = '%d'", PlayerInfo[playerid][pClanTag], PlayerInfo[playerid][pID]);

and this
cache_get_field_content(0, "ClanTag", sz); format(PlayerInfo[playerid][pClanTag], 5, sz);

but i don't think the problem comes from any of this
Reply


Messages In This Thread
Clan tag problem - by bosmania - 04.03.2019, 14:07
Re: Clan tag problem - by hoanduy - 04.03.2019, 14:45
Re: Clan tag problem - by bosmania - 04.03.2019, 15:02
Re: Clan tag problem - by TheToretto - 04.03.2019, 15:54
Re: Clan tag problem - by bosmania - 04.03.2019, 16:17
Re: Clan tag problem - by TheToretto - 04.03.2019, 17:24
Re: Clan tag problem - by bosmania - 04.03.2019, 18:32
Re: Clan tag problem - by bosmania - 04.03.2019, 18:37
Re: Clan tag problem - by bosmania - 04.03.2019, 18:43
Re: Clan tag problem - by Private200 - 04.03.2019, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)