30.06.2014, 23:07
Isso eu resolvi, alterei o sistema e deu certo, agora to com uma outra duvida.
O que tem de errado nesse code?
pawn Код:
CMD:infos(playerid, params[])
{
new JUIP[50], NomeJU[30], StrJU[128], targetid, InfosDlg[9999];
GetPlayerName(targetid, NomeJU, sizeof(NomeJU));
GetPlayerIp(playerid, JUIP, sizeof(JUIP));
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Nick:{00ff00} %s\n", InfosDlg, NomeJU);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Level:{00ff00} %i\n", InfosDlg, APlayerData[playerid][PlayerLevel]);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Score:{00ff00} %i\n", InfosDlg, APlayerData[playerid][PlayerScore]);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Dinheiro em maos:{00ff00} %i\n", InfosDlg, APlayerData[playerid][PlayerMoney]);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Dinheiro no banco:{00ff00} %i\n", APlayerData[targetid][BankMoney]);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Procurado:{00ff00} %i\n", InfosDlg, GetPlayerWantedLevel(playerid));
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Logado a:{00ff00} %s\n", InfosDlg, Convert(APlayerData[playerid][TempoConectado]));
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Texto cabeca:{00ff00} %s\n", InfosDlg, APlayerData[playerid][Cabeca]);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Frase ao Conectar:{00ff00} %s\n\n", InfosDlg, APlayerData[playerid][Frase]);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}Seu IP:{00ff00} %s\n", InfosDlg, JUIP);
format(InfosDlg, sizeof(InfosDlg), "%s {0000FF}SA-MP:{00ff00} 0.3z\n", InfosDlg);
ShowPlayerDialog(playerid, Infd, DIALOG_STYLE_MSGBOX, "Informacoes", InfosDlg, "Fechar", "");
format(StrJU, 128, "{ffffff}%s {999999}estб visulizando informaзхes ъteis da sua conta em {ffffff}/infos", NomeJU);
SendClientMessageToAll(-1, StrJU);
return 1;
}