[DUDA/AYUDA] input line too long (after substitutions)
#7

Quote:
Originally Posted by OTACON
Посмотреть сообщение
pawn Код:
new string[/*cuenta los caracteres*/];

format(string, sizeof(string), "\

{FFFFFF}Nick: %s\
\nScore: %d\
\nMuertes: %d\
\nMatados: %d\
\nDinero: $%d\
\nEstrellas: %d\
\nCarreras Terminadas: %d\
\nTest.R Ganados: %d\
\nHEADSHOTs: %d\
\nDuelos Ganados: %d\
\nDuelos Perdidos: %d\
\nPing: %d"
,\

PlayerName2(playerid), \
GetPlayerScore(playerid), \
PlayerInfo[playerid][Deaths], \
Float:PlayerInfo[playerid][Kills],\
GetPlayerMoney(playerid),\
PlayerInfo[playerid][Estrellas],\
PlayerInfo[playerid][cGanadas],\
PlayerInfo[playerid][tGanados],\
PlayerInfo[playerid][HEADSHOTs],\
PlayerInfo[playerid][DGanados],\
PlayerInfo[playerid][DPerdidos],\
GetPlayerPing(playerid) );

printf("resultado. %s", string);
pawn Код:
new string[/*cuenta los caracteres*/], result[/*cuenta los caracteres*/];

format(result, sizeof(result), "Nick: %s",PlayerName2(playerid));
strcat(string, result);
format(result, sizeof(result), "\nScore: %d",GetPlayerScore(playerid));
strcat(string, result);
format(result, sizeof(result), "\nMuertes: %d",PlayerInfo[playerid][Deaths]);
strcat(string, result);
format(result, sizeof(result), "\nMatados: %d",Float:PlayerInfo[playerid][Kills]);
strcat(string, result);
format(result, sizeof(result), "\nEstrellas: %d",PlayerInfo[playerid][Estrellas]);
strcat(string, result);
format(result, sizeof(result), "\nCarreras Terminadas: %d",PlayerInfo[playerid][cGanadas]);
strcat(string, result);
format(result, sizeof(result), "\nTest.R Ganados: %d",PlayerInfo[playerid][tGanados]);
strcat(string, result);
format(result, sizeof(result), "\nHEADSHOTs: %d",PlayerInfo[playerid][HEADSHOTs]);
strcat(string, result);
format(result, sizeof(result), "\nDuelos Ganados: %d",PlayerInfo[playerid][cGanadas]);
strcat(string, result);
format(result, sizeof(result), "\nDuelos Perdidos: %d",PlayerInfo[playerid][DPerdidos]);
strcat(string, result);
format(result, sizeof(result), "\nPing: %d",GetPlayerPing(playerid));
strcat(string, result);

printf("resultado. %s", string);
Ey man, cuando te dije que estaba bien, fue por que lo leн le vi coherencia xD
Pero, cuando lo use, me da el mismo error, pero en la linea PlayerInfo[playerid][HEADSHOTs],\.. Ayudame please :C
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)