[Ajuda] number of arguments does not match definition "cmd_" - 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] number of arguments does not match definition "cmd_" (
/showthread.php?tid=536753)
number of arguments does not match definition "cmd_" -
Miineiro - 11.09.2014
Код:
C:\Users\Iuri\Desktop\BPC2.pwn(3912) : warning 202: number of arguments does not match definition
C:\Users\Iuri\Desktop\BPC2.pwn(4841) : warning 202: number of arguments does not match definition
C:\Users\Iuri\Desktop\BPC2.pwn(5313) : warning 202: number of arguments does not match definition
C:\Users\Iuri\Desktop\BPC2.pwn(5318) : warning 202: number of arguments does not match definition
C:\Users\Iuri\Desktop\BPC2.pwn(5323) : warning 202: number of arguments does not match definition
C:\Users\Iuri\Desktop\BPC2.pwn(5328) : warning 202: number of arguments does not match definition
C:\Users\Iuri\Desktop\BPC2.pwn(5333) : warning 202: number of arguments does not match definition
C:\Users\Iuri\Desktop\BPC2.pwn(5338) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
8 Warnings.
Linha 3912: (OBS: As outras linhas sгo todas parecidas... Me ajudando a solucionar essa consigo o resto)
pawn Код:
cmd_admvcasaid(playerid);
Re: number of arguments does not match definition "cmd_" -
MultiKill - 11.09.2014
pawn Код:
cmd_admvcasaid(playerid, "");
Re: number of arguments does not match definition "cmd_" -
Cidiei - 11.09.2014
pawn Код:
cmd_admvcasaid(playerid,params);
Esse erro ocorre quando em uma determinada funзгo existem algum parametro a mais ou a menos do proposto pela biblioteca ou callback. Um exemplo й o "cmd" Ele pode se encontrar de duas formas:
1 - cmd_abrir(playerid);//Neste Caso seria somente 1 paramкtro, ou seja, seria destinado a 1 jogador.
2 - cmd_abririd(playerid,params);//Neste caso seria destinado a algum numero/id, por exemplo de banimento