05.03.2018, 20:36
bom galera estou com um erro aki alguem ajuda pfv
PHP код:
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, "Todas facзхes do servidor", string, "OK", ""); // Linha do erro
PHP код:
dcmd_facplayers(playerid, params[])
{
#pragma unused params
new playersCMD, playersLLL, players3CP, playersMLC;
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i) && Player[i][pFaccoes] == 1 || Player[i][pFaccoes] == 2 || Player[i][pFaccoes] == 3)
{playersCMD ++;}
if(IsPlayerConnected(i) && Player[i][pFaccoes] == 4 || Player[i][pFaccoes] == 5 || Player[i][pFaccoes] == 6)
{playersLLL ++;}
if(IsPlayerConnected(i) && Player[i][pFaccoes] == 7 || Player[i][pFaccoes] == 8 || Player[i][pFaccoes] == 9)
{players3CP ++;}
if(IsPlayerConnected(i) && Player[i][pFaccoes] == 10 || Player[i][pFaccoes] == 11 || Player[i][pFaccoes] == 12)
{playersMLC ++;}
}
new STring[4000], string1[4000];
format(STring, -1, "CMD» %d players online.", playersCMD);
strcat(string1,STring);
format(STring, -1, "LLL» %d players online.", playersLLL);
strcat(string1,STring);
format(STring, -1, "TD3» %d players online.", players3CP);
strcat(string1,STring);
format(STring, -1, "MLC» %d players online.", playersMLC);
strcat(string1,STring);
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, "Todas facзхes do servidor", string, "OK", ""); // Linha do erro
return 1;
}
Код:
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(22786) : error 035: argument type mismatch (argument 3) C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(28231) : warning 203: symbol is never used: "PosCX" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.