22/09/2023 21:36
bom dia, boa tarde, boa noite, estou com um erro nao sei como se resolver
erro:
codigo:
erro:
Código:
error 045: too many function arguments
codigo:
Código:
new query[3136];
mysql_format(conexao, query, sizeof(query), "UPDATE contas SET \
Level = %d, AdminLevel = %d, Avaliacoes = %d, AvaFinal = %d, VipLevel = %d, SocioLevel = %d, HorasJogadas = %d, Registrado = %d, Sexo = %d, \
Respeito = %d, Dinheiro = %d, GranaBanco = %d, Crimes = %d, Kills = %d, Deaths = %d, LottoNr = %d, Emprego = %d, Salario = %d, HeadValue = %d, \
Jailed = %d, EventoChuck = %d, JailTime = %d, BloqueadoChatDuvida = %d, Materiais = %d, Lider = %d, Membro = %d, Cargo = %d, Skin = %d, \
ContractTime = %d, DetSkill = %d, LawSkill = %d, MechSkill = %d, DrogasSkill = %d, pSHealth = %f, Team = %d, Celular = %d, ChaveCasa = %d, \
ChaveEmpresa = %d, ChaveFazenda = %d, CamOniLic = %d, GunLic = %d, DrugPerk = %d, Avisos = %d, Married = %d, MarriedTo = %s, Spawn = %d, \
SafeMaconha = %d, SafeCocaina = %d, SafeCrack = %d, SafeLsd = %d, CarroVIP = %d, CarroFIXO = %d, OldCarroVIP = %d, OldCarroFixo = %d, \
SafeMateriais = %d, CarroCasa = %d, Luta = %d, Dorgado = %d, Dorgado2 = %d, Doenca = %d, Creditos = %d, LU = %s, Gun1 = %d, Gun2 = %d, \
Gun3 = %d, Gun4 = %d, Gun5 = %d, Gun6 = %d, Gun7 = %d, Gun8 = %d, Gun9 = %d, Gun10 = %d, Gun11 = %d, Gun12 = %d, Ammo1 = %d, Ammo2 = %d, \
Ammo3 = %d, Ammo4 = %d, Ammo5 = %d, Ammo6 = %d, Ammo7 = %d, Ammo8 = %d, Ammo9 = %d, Ammo10 = %d, Ammo11 = %d, Ammo12 = %d, Caxinha = %d, \
RoubosEvitados = %d, Sequestros = %d, Multas = %d, Televisao = %d, Maconheiro = %d, Cheirador = %d, Cracudo = %d, Preso = %d, Carcereiro = %d, \
Cacador = %d, AtiradorElite = %d, Bazucador = %d, Dominador = %d, Traficante = %d, Matador = %d, Incendiario = %d, Apagado = %d, Alcolatra = %d, \
winner = %d, Deejay = %d, Degolador = %d, Pontos = %d, Multa = %d, NoteBook = %d, Multado = %d, ChatVipAtivado = %d, ChatJornalAovido = %d, \
ChatSocioAtivado = %d, ChatTerritorio = %d, ChatDuelo = %d, ChatRoubo = %d, ValidadeCarro = %d, ValidadeMoto = %d, ValidadeBarco = %d, \
ValidadeAviao = %d, ValidadeOnibus = %d, DiaVIP = %d, LogouHoje = %d, Penitenciaria = %d, Tiroteio = %d, DiaLogin = %d, MesLogin = %d, \
AnoLogin = %d, Coins = %d, ReceberCoins = %d, Familia = %d, KitAlteranado = %d, AtividadeAdmin = %d, Tutorial = %d, Sino = %d, Desafiador = %d, \
Desafiante = %d, SkinAntiga = %d, WantedLevel = %d, SpawnGuerra = %d, DeslogandoMulta = %d, DeslogandoSocio = %d, DeslogandoEnforcer = %d, \
DeslogouNoTiroteio = %d, MudarNick = %d, LicencaAdvogado = %d, MotoGuincho1 = %d, MotoGuincho2 = %d, MotoGuincho3 = %d, MotoGuincho4 = %d, \
MotoGuincho5 = %d, DeatEvento = %d, KillEvento = %d, TemSkinPerm = %d, TemTituloPersonalizado = %d, PayDay = %d, \
LFamilia = %d, SubFamilia = %d, LogouHojeVIP = %d, Missao = %d, SocioGratis = %d, AnuncioCoins = %d, Fome = %d, \
Sede = %d, SFome = %d, TipoRG = %d, ChatDuvida = %d, Titulo = '%s' WHERE Nome = '%s';",
PlayerInfo[playerid][pLevel],
PlayerInfo[playerid][pAdmin],
PlayerInfo[playerid][pAvaliacoes],
PlayerInfo[playerid][pAFinal],
PlayerInfo[playerid][pVIP],
PlayerInfo[playerid][pSocio],
PlayerInfo[playerid][pConnectTime],
PlayerInfo[playerid][pReg],
PlayerInfo[playerid][pSex],
PlayerInfo[playerid][pExp],
PlayerInfo[playerid][pDinheiro],
PlayerInfo[playerid][pConta],
PlayerInfo[playerid][pCrimes],
PlayerInfo[playerid][pKills],
PlayerInfo[playerid][pDeaths],
PlayerInfo[playerid][pLottoNr],
PlayerInfo[playerid][pEmprego],
PlayerInfo[playerid][pSalario],
PlayerInfo[playerid][pHeadValue],
PlayerInfo[playerid][pJailed],
PlayerInfo[playerid][pTrazerChuck],
PlayerInfo[playerid][pJailTime],
PlayerInfo[playerid][pBloqueadoChatDuvida],
PlayerInfo[playerid][pMats],
PlayerInfo[playerid][pLider],
PlayerInfo[playerid][pMembro],
PlayerInfo[playerid][pCargo],
PlayerInfo[playerid][pSkin],
PlayerInfo[playerid][pContractTime],
PlayerInfo[playerid][pDetSkill],
PlayerInfo[playerid][pLawSkill],
PlayerInfo[playerid][pMechSkill],
PlayerInfo[playerid][pDrogasSkill],
PlayerInfo[playerid][pSHealth],
PlayerInfo[playerid][pTeam],
PlayerInfo[playerid][pPnumber],
PlayerInfo[playerid][pPHousekey],
PlayerInfo[playerid][pPbiskey],
PlayerInfo[playerid][pPFazkey],
PlayerInfo[playerid][pCamOniLic],
PlayerInfo[playerid][pGunLic],
PlayerInfo[playerid][pDrugPerk],
PlayerInfo[playerid][pAvisos],
PlayerInfo[playerid][pMarried],
PlayerInfo[playerid][pMarriedTo],
PlayerInfo[playerid][pSpawn],
PlayerInfo[playerid][pSafeDrogas],
PlayerInfo[playerid][pSafeDrogas2],
PlayerInfo[playerid][pSafeDrogas3],
PlayerInfo[playerid][pSafeDrogas4],
PlayerInfo[playerid][pCarKey],
PlayerInfo[playerid][pCarFixo],
PlayerInfo[playerid][pOldCarKey],
PlayerInfo[playerid][pOldCarFixo],
PlayerInfo[playerid][psMats],
PlayerInfo[playerid][pCarroCasa],
PlayerInfo[playerid][pLuta],
PlayerInfo[playerid][pDorgado],
PlayerInfo[playerid][pDorgado2],
PlayerInfo[playerid][pDoenca],
PlayerInfo[playerid][pCreditos],
PlayerInfo[playerid][pLastLogin],
PlayerInfo[playerid][pGun1],
PlayerInfo[playerid][pGun2],
PlayerInfo[playerid][pGun3],
PlayerInfo[playerid][pGun4],
PlayerInfo[playerid][pGun5],
PlayerInfo[playerid][pGun6],
PlayerInfo[playerid][pGun7],
PlayerInfo[playerid][pGun8],
PlayerInfo[playerid][pGun9],
PlayerInfo[playerid][pGun10],
PlayerInfo[playerid][pGun11],
PlayerInfo[playerid][pGun12],
PlayerInfo[playerid][pAmmo1],
PlayerInfo[playerid][pAmmo2],
PlayerInfo[playerid][pAmmo3],
PlayerInfo[playerid][pAmmo4],
PlayerInfo[playerid][pAmmo5],
PlayerInfo[playerid][pAmmo6],
PlayerInfo[playerid][pAmmo7],
PlayerInfo[playerid][pAmmo8],
PlayerInfo[playerid][pAmmo9],
PlayerInfo[playerid][pAmmo10],
PlayerInfo[playerid][pAmmo11],
PlayerInfo[playerid][pAmmo12],
PlayerInfo[playerid][pCaixinha],
PlayerInfo[playerid][pRoubosEvitados],
PlayerInfo[playerid][pSequestros],
PlayerInfo[playerid][pMultas],
PlayerInfo[playerid][pTelevisao],
PlayerInfo[playerid][pMaconheiro],
PlayerInfo[playerid][pCheirador],
PlayerInfo[playerid][pCracudo],
PlayerInfo[playerid][pPreso],
PlayerInfo[playerid][pCarcereiro],
PlayerInfo[playerid][pCacador],
PlayerInfo[playerid][pAtiradorElite],
PlayerInfo[playerid][pBazucador],
PlayerInfo[playerid][pDominador],
PlayerInfo[playerid][pTraficante],
PlayerInfo[playerid][pMatador],
PlayerInfo[playerid][pIncendio],
PlayerInfo[playerid][pApagado],
PlayerInfo[playerid][pAlcolatra],
PlayerInfo[playerid][pWinner],
PlayerInfo[playerid][pDeejay],
PlayerInfo[playerid][pDegolador],
PlayerInfo[playerid][pPontos],
PlayerInfo[playerid][pNotebook],
PlayerInfo[playerid][pMultado],
PlayerInfo[playerid][pChatVipDesativado],
PlayerInfo[playerid][pChatJornalAovido],
PlayerInfo[playerid][pChatSocioDesativado],
PlayerInfo[playerid][pChatTerritorio],
PlayerInfo[playerid][pChatDuelo],
PlayerInfo[playerid][pChatRoubo],
PlayerInfo[playerid][pValidadeMoto],
PlayerInfo[playerid][pValidadeBarco],
PlayerInfo[playerid][pValidadeAviao],
PlayerInfo[playerid][pValidadeOnibus],
PlayerInfo[playerid][pDiaVIP],
PlayerInfo[playerid][pLogouHoje],
PlayerInfo[playerid][pPenitenciaria],
PlayerInfo[playerid][pTiroteio],
PlayerInfo[playerid][pLastDia],
PlayerInfo[playerid][pLastMes],
PlayerInfo[playerid][pLastAno],
PlayerInfo[playerid][pCoins],
PlayerInfo[playerid][pReceberCoins],
PlayerInfo[playerid][pFamilia],
PlayerInfo[playerid][pKitAlternado],
PlayerInfo[playerid][pAtividadeAdmin],
PlayerInfo[playerid][pTutorial],
PlayerInfo[playerid][pSino],
PlayerInfo[playerid][pDesafiador],
PlayerInfo[playerid][pDesafiante],
skincop[playerid],
WantedLevel[playerid],
SpawnGuerra[playerid],
DeslogandoMulta[playerid],
DeslogandoSocio[playerid],
DeslogandoEnforcer[playerid],
DeslogouNoTiroteio[playerid],
MudarNick[playerid],
LicencaAdvogado[playerid],
MotoGuincho1[playerid],
MotoGuincho2[playerid],
MotoGuincho3[playerid],
MotoGuincho4[playerid],
MotoGuincho5[playerid],
DeatEvento[playerid],
KillEvento[playerid],
TemSkinPermanente[playerid],
TemTituloPersonalizado[playerid],
PlayerInfo[playerid][pPayDay],
PlayerInfo[playerid][pLFamilia],
PlayerInfo[playerid][pCargoF],
PlayerInfo[playerid][pLogouHojeVIP],
PlayerInfo[playerid][pMissao],
GanhouSocio[playerid],
PlayerInfo[playerid][pAnuncioCoins],
PlayerInfo[playerid][pFome],
PlayerInfo[playerid][pSede],
PlayerInfo[playerid][pSFOME],
PlayerInfo[playerid][pTipoRG],
PlayerInfo[playerid][pChatDuvida],
PlayerInfo[playerid][pATitulo],
PlayerName(playerid));
mysql_tquery(conexao, query);