SA-MP Forums Archive
[AJUDA] Erro ao Copilar - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Erro ao Copilar (/showthread.php?tid=221350)



[AJUDA] Erro ao Copilar - Montillo - 05.02.2011

Bom fui copilar Meu GM,e deu esse erro ! nao faзa a minima idйia de como concertar !
e procurei no Search e nao Achei nada a Respeito ! quem puder me ajudar ue agradeзo !
OBRIGADO !



Код:
C:\Gta San Andreas\Tudo Para GTA\GM\BFG.pwn(18862) : warning 202: number of arguments does not match definition



Re: [AJUDA] Erro ao Copilar - Comando Thug - 05.02.2011

Isso nгo й um erro, й um waring, mesmo com ele tu compila normal.
Posta as Linhas 18861,18862,18863 para mim ver, sobre esse waring:
pawn Код:
number of arguments does not match definition
tem alguma coisa a mais do que o normal, manda as linhas que eu te pedi ai eu posso te ajudar.


Re: [AJUDA] Erro ao Copilar - Montillo - 05.02.2011

Код:
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,1,1,1,1,1,1);
return 1;
}



Re: [AJUDA] Erro ao Copilar - Comando Thug - 05.02.2011

Manda todo o COD para mim avaliar, se isso for um comando manda ele todo ai.


Re: [AJUDA] Erro ao Copilar - Montillo - 05.02.2011

й uma animaзгo
Код:
if(strcmp("/de4", cmd, true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s estб de 4 ^^!.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,1,1,1,1,1,1);
return 1;
}



Re: [AJUDA] Erro ao Copilar - Comando Thug - 05.02.2011

lol, no GM aqui pego certinho, nada de waring, tenta fazer isso:
pawn Код:
if (strcmp("/de4", cmdtext, true, 10) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s estб de 4 ^^!.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,1,1,1,1,1,1);
return 1;
}
Aqui nгo deu erro e nem waring tenso.


Re: [AJUDA] Erro ao Copilar - Montillo - 05.02.2011

nao foi ;/
Apareceu esse agora,
Код:
C:\Gta San Andreas\Tudo Para GTA\GM\BFG.pwn(18857) : error 021: symbol already defined: "cmd"
e
Код:
C:\Gta San Andreas\Tudo Para GTA\GM\BFG.pwn(59861) : error 017: undefined symbol "GetPdistence"



Re: [AJUDA] Erro ao Copilar - Comando Thug - 05.02.2011

esquece o que eu postei acima, uй cara, nгo encontrei nada de anormal nesse anim, eu acabei de testar ele aqui no gm e funfo direitinho
pawn Код:
if (strcmp("/de4", cmdtext, true, 10) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s estб de 4 ^^!.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,1,1,1,1,1,1);
return 1;
}



Re: [AJUDA] Erro ao Copilar - Montillo - 05.02.2011

Estranho :/
e sobre esse erro ?


C:\Gta San Andreas\Tudo Para GTA\GM\BFG.pwn(59861) : error 017: undefined symbol "GetPdistence"


Re: [AJUDA] Erro ao Copilar - Comando Thug - 05.02.2011

posta essa linha aqui pra mim ver