||ґ HELP (PLS) ґ "warning 202: number of arguments does not match definition" -
Izaque1998 - 18.08.2015
Galera alguem poderia me ajudar a retirar estes avisos do meu GM, nгo vejo nenhum erro nisso.
PHP Code:
PlayerTextDrawShow(playerid, LoginDraw4[playerid], 1);
PHP Code:
PlayerTextDrawShow(playerid, LoginDraw5[playerid], 1);
PHP Code:
PlayerTextDrawShow(playerid, LoginDraw6[playerid], 1);
PHP Code:
PlayerTextDrawShow(playerid, LoginDraw12[playerid], 1);
PHP Code:
PlayerTextDrawShow(playerid, LoginDraw10[playerid], 1);
Code:
C:\Users\usar\Desktop\DRAW.pwn(162) : warning 202: number of arguments does not match definition
C:\Users\usar\Desktop\DRAW.pwn(163) : warning 202: number of arguments does not match definition
C:\Users\usar\Desktop\DRAW.pwn(164) : warning 202: number of arguments does not match definition
C:\Users\usar\Desktop\DRAW.pwn(165) : warning 202: number of arguments does not match definition
C:\Users\usar\Desktop\DRAW.pwn(166) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Warnings.
Re: ||ґ HELP (PLS) ґ "warning 202: number of arguments does not match definition" -
KinX - 18.08.2015
Tire esse " , 1 " no final de cada comando
exemplo
pawn Code:
PlayerTextDrawShow(playerid, LoginDraw10[playerid]);
Re: ||ґ HELP (PLS) ґ "warning 202: number of arguments does not match definition" -
Izaque1998 - 18.08.2015
Eu queria colocar pra ficar clicavel e deu isso:
Code:
C:\Users\usar\Desktop\DRAW.pwn(163) : error 035: argument type mismatch (argument 1)
C:\Users\usar\Desktop\DRAW.pwn(164) : error 035: argument type mismatch (argument 1)
C:\Users\usar\Desktop\DRAW.pwn(165) : error 035: argument type mismatch (argument 1)
C:\Users\usar\Desktop\DRAW.pwn(166) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
my cуde:
PHP Code:
PlayerTextDrawSetSelectable(PlayerText:LoginDraw1, 1);
PlayerTextDrawSetSelectable(PlayerText:LoginDraw2, 1);
PlayerTextDrawSetSelectable(PlayerText:LoginDraw4, 1);
PlayerTextDrawSetSelectable(PlayerText:LoginDraw3, 1);
Pode me ajudar com isso?
Re: ||ґ HELP (PLS) ґ "warning 202: number of arguments does not match definition" -
KinX - 18.08.2015
Faltaram argumentos, coloque assim , para todos eles, adicione (playerid) como argumento 1
Exemplo:
pawn Code:
PlayerTextDrawSetSelectable(playerid, PlayerText:LoginDraw3, 1);
Re: ||ґ HELP (PLS) ґ "warning 202: number of arguments does not match definition" -
Izaque1998 - 18.08.2015
Ah entendi tinha da erro denovo ae coloquei assim:
PHP Code:
PlayerTextDrawSetSelectable(playerid, PlayerText:LoginDraw3[playerid], true);
Deu certo vlw.