[Ajuda] Erro na formataзгo
#6

Quote:
Originally Posted by Lucas_HenryK
Посмотреть сообщение
nгo adiantou galera..

pawn Код:
strcat(stringa,"{4D4FFF}Nome: {FFFFFF}%s (ID:%d)\n\n{4D4FFF}Classe: {FFFFFF}%s - {4D4FFF}Rank: {FFFFFF}EDITAR\n\n",nome(clickedplayerid),clickedplayerid,GetPlayerTeam(clickedplayerid));
error 035: argument type mismatch (argument 3)

nгo consigo achar nenhum erro nisso..
Eu uso format e depois strcat.

Mas enfim, um exemplo:

pawn Код:
new String1[60], String2[65], nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
format(String1, sizeof(String1), "Olб, %s\n", nome); strcat(String2, String1);
format(String1, sizeof(String1), "Seu id й %d", playerid); strcat(String2, String1);
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Oi", String2, "Ok", "");
Reply


Messages In This Thread
Erro na formataзгo - by Lucas_HenryK - 03.02.2014, 19:48
Re: Erro na formataзгo - by Don_Speed - 03.02.2014, 19:55
Re: Erro na formataзгo - by ViniKuliveguisky - 03.02.2014, 19:56
Re: Erro na formataзгo - by @Riichard - 03.02.2014, 20:44
Re: Erro na formataзгo - by Lucas_HenryK - 03.02.2014, 21:22
Re: Erro na formataзгo - by @Riichard - 03.02.2014, 21:26

Forum Jump:


Users browsing this thread: 1 Guest(s)