[Ajuda] ||ґ HELP (PLS) ґ "warning 202: number of arguments does not match definition"
#1

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.
Reply
#2

Tire esse " , 1 " no final de cada comando

exemplo
pawn Code:
PlayerTextDrawShow(playerid,  LoginDraw10[playerid]);
Reply
#3

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:LoginDraw11);
PlayerTextDrawSetSelectable(PlayerText:LoginDraw21);
PlayerTextDrawSetSelectable(PlayerText:LoginDraw41);
PlayerTextDrawSetSelectable(PlayerText:LoginDraw31); 
Pode me ajudar com isso?
Reply
#4

Faltaram argumentos, coloque assim , para todos eles, adicione (playerid) como argumento 1

Exemplo:

pawn Code:
PlayerTextDrawSetSelectable(playerid, PlayerText:LoginDraw3, 1);
Reply
#5

Ah entendi tinha da erro denovo ae coloquei assim:

PHP Code:
PlayerTextDrawSetSelectable(playeridPlayerText:LoginDraw3[playerid], true); 
Deu certo vlw.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)