03.12.2018, 22:04
Finalmente consegui finalizar a minha RG, mais ela tem um erro bem simples, tentei resolver, mais nгo deu, aqui estб o erro:
erro й nessa Celular:[%d]n", esse n", que dб problema.
PHP Code:
error 001: expected token: ",", but found "-identifier
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
PHP Code:
MEGAString[0]=EOS;
format(gstring, sizeof gstring, "{4B8DE3}** RG de {D5DFED}%s {4B8DE3}**\n\n",PlayerName(targetid));
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Nнvel:[%d] Idade:[%d] Sexo:[%s] Dinheiro:[R$%d] Banco:[R$%d] Ouros:[%d] Coins:[%d] Celular:[%d]n",
level,PlayerInfo[targetid][pAge],atext, cash, Conta,PlayerInfo[targetid][pOuros],Casher, pnumber
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Conta:{D5DFED}[%s] {4B8DE3}Casado Com:{D5DFED}[%s] {4B8DE3}Horas Jogadas:{D5DFED}[%d] {4B8DE3}Emprego:{D5DFED}[%s] {4B8DE3}Celular:{D5DFED}[%d]\,
drank,married,PlayerInfo[targetid][pConnectTime],jtext);
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Crimes Cometidos:{D5DFED}[%d] {4B8DE3}Matou:{D5DFED}[%d] {4B8DE3}Morreu:{D5DFED}[%d] {4B8DE3}Loteria:{D5DFED}[%d] {4B8DE3}Cidade:{D5DFED}[Los Santos] {4B8DE3}Vida:{D5DFED}[%.1f]\n",
crimes,kills,deaths,lotto, shealth);
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Prуximo Nнvel:{D5DFED}[R$%s] {4B8DE3}Respeito:{D5DFED}[%d/%d] {4B8DE3}Doenзas:{D5DFED}[%s] {4B8DE3}Nнvel de Procura:{D5DFED}[%d] {4B8DE3}Tempo Concessionбria:{D5DFED}[%d/20]\n",
costlevel,exp,expquantidade,dtext, Wanted, choras);
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Materiais:{D5DFED}[%d] {4B8DE3}Safe Materiais:{D5DFED}[%d] {4B8DE3}Organizaзгo:{D5DFED}[%s] {4B8DE3}Cargo:{D5DFED}[%s] {4B8DE3}Mochila:{D5DFED}[%s] {4B8DE3}Email:{D5DFED}[%s]\n",
mats,smats,NomeORG(targetid),GetPlayerCargo(targetid), PlayerInfo[targetid][pEmail]);
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Sementes:{D5DFED}[%d] {4B8DE3}Maconha:{D5DFED}[%d] {4B8DE3}Cocaina:{D5DFED}[%d] {4B8DE3}Crack:{D5DFED}[%d] {4B8DE3}Safe Maconha:{D5DFED}[%d] Safe Cocaina:{D5DFED}[%d] Safe Crack:{D5DFED}[%d]\n",
PlayerInfo[targetid][pSementes],Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Explosivos:{D5DFED}[%d] {4B8DE3}Cigarros:{D5DFED}[%d] {4B8DE3}Galгo de Gasolina:{D5DFED}[%s] {4B8DE3}Isqueiro:{D5DFED}[%s] {4B8DE3}Patins:{D5DFED}[%s] {4B8DE3}Rбdio:{D5DFED}[%s]\n\n",
PlayerInfo[targetid][pExplosivos], PlayerInfo[targetid][pCigarros], galao, Isqueiro, ppatins, radiop);
strcat(MEGAString,gstring);
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdminTemp] >= 1)
{
strcat(MEGAString,"{4B8DE3}Admins sу veem:\n");
format(gstring, sizeof gstring, "{4B8DE3}Chave Casa:{D5DFED}[%d] {4B8DE3}Chave Empresa:{D5DFED}[%d] {4B8DE3}Chave Fazenda:{D5DFED}[%d] {4B8DE3}Chave do Carro:{D5DFED}[%d] {4B8DE3}Interior:{D5DFED}[%d] {4B8DE3}Local:{D5DFED}[%d]\n",
housekey,bizkey,fazkey,HireCar[targetid],intir,local);
strcat(MEGAString,gstring);
format(gstring, sizeof gstring, "{4B8DE3}Veнculo VIP(1):{D5DFED}[%d] {4B8DE3}Veнculo VIP(2):{D5DFED}[%d] {4B8DE3}Veнculo VIP(3):{D5DFED}[%d] {4B8DE3}Veнculo VIP(4):{D5DFED}[%d] {4B8DE3}Veнculo VIP(5):{D5DFED}[%d]\n",
carro,carro2,carro3,carro4,carro5);
strcat(MEGAString,gstring);
}
ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "RG", MEGAString, "Ok", "");
}
return true;
}