[Ajuda]2 Errors
#1

pawn Код:
if(strcmp(cmdtext, "/comando", true) == 0) {
SendClientMessage(playerid, RED, "__________________________________________________");
SendClientMessage(playerid, Branco, "AAAAAAAAAAAAAAA");
SendClientMessage(playerid, Branco, "AAAAAAAAAAAAAAAA");
SendClientMessage(playerid, Branco, "AAAAAAAAAAAAAAAA");
SendClientMessage(playerid, Branco, "AAAAAAAAAAA");
SendClientMessage(playerid, RED, "__________________________________________________");
return 1;
}
Erro:
Код:
 error 010: invalid function or declaration
 error 010: invalid function or declaration
Reply
#2

pawn Код:
if(!strcmp(cmdtext, "/comando", true))
{
new string[256], name[24], DCmd[999];
format(string, sizeof(string), "_____________________________________________"); strcat(DCmd, string);
format(string, sizeof(string), "AAAAAAAAAAAAAA"); strcat(DCmd, string);
format(string, sizeof(string), "BBBBBBBBBBBBBBBB"); strcat(DCmd, string);
format(string, sizeof(string), "CCCCCCCCCCCCCC"); strcat(DCmd, string);
format(string, sizeof(string), "_____________________________________________"); strcat(DCmd, string);
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Informaзхes do Comando", DCmd, "Ok","");
return 1;
}
Refiz o comando para vocк em Dialog.
Reply
#3

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
if(!strcmp(cmdtext, "/comando", true))
{
new string[256], name[24], DCmd[999];
format(string, sizeof(string), "_____________________________________________"); strcat(DCmd, string);
format(string, sizeof(string), "AAAAAAAAAAAAAA"); strcat(DCmd, string);
format(string, sizeof(string), "BBBBBBBBBBBBBBBB"); strcat(DCmd, string);
format(string, sizeof(string), "CCCCCCCCCCCCCC"); strcat(DCmd, string);
format(string, sizeof(string), "_____________________________________________"); strcat(DCmd, string);
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Informaзхes do Comando", DCmd, "Ok","");
return 1;
}
Refiz o comando para vocк em Dialog.
agora й esse erro

Код:
C:\Users\usuario\Desktop\MEU TDM\pawno\new.pwn(23) : error 010: invalid function or declaration
C:\Users\usuario\Desktop\MEU TDM\pawno\new.pwn(26) : error 021: symbol already defined: "format"
C:\Users\usuario\Desktop\MEU TDM\pawno\new.pwn(32) : error 010: invalid function or declaration
C:\Users\usuario\Desktop\MEU TDM\pawno\new.pwn(34) : warning 203: symbol is never used: "DCmd"
C:\Users\usuario\Desktop\MEU TDM\pawno\new.pwn(34) : warning 203: symbol is never used: "RandomMSG"
C:\Users\usuario\Desktop\MEU TDM\pawno\new.pwn(34) : warning 203: symbol is never used: "name"
C:\Users\usuario\Desktop\MEU TDM\pawno\new.pwn(34) : warning 203: symbol is never used: "string"
Reply
#4

Pode mandar em que linha dб os erros?:
pawn Код:
error 010: invalid function or declaration
 error 010: invalid function or declaration
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)