[AJUDA]argument type mismatch
#1

eaw galerinha estou com um pequeno problema ou melhor 16 pequenos problemas aki :S onten tentei faser um Textdraw na tela blz mais deu os sequintes erros:

pawn Код:
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(488) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(489) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(490) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(491) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(492) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(493) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(494) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(497) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(498) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(499) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(500) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(501) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(502) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(503) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(506) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Desktop\0.3server\gamemodes\Regis.pwn(507) : error 035: argument type mismatch (argument 1)
nas sequintes linhas:
pawn Код:
Tpontos[playerid] = TextDrawCreate(550.000000, 410.000000, "Matou:");
    TextDrawBackgroundColor(Tpontos, 255);
    TextDrawFont(Tpontos, 1);
    TextDrawLetterSize(Tpontos, 0.500000, 1.000000);
    TextDrawColor(Tpontos, -1);
    TextDrawSetOutline(Tpontos, 0);
    TextDrawSetProportional(Tpontos, 1);
    TextDrawSetShadow(Tpontos, 1);

    Tpontoss[playerid] = TextDrawCreate(550.000000, 400.000000, "Mortes:");
    TextDrawBackgroundColor(Tpontoss, 255);
    TextDrawFont(Tpontoss, 1);
    TextDrawLetterSize(Tpontoss, 0.500000, 1.000000);
    TextDrawColor(Tpontoss, -1);
    TextDrawSetOutline(Tpontoss, 0);
    TextDrawSetProportional(Tpontoss, 1);
    TextDrawSetShadow(Tpontoss, 1);
auguem ai sabe ?? oq e ?
Reply
#2

Tente colocar a tag Text: para poder adaptar a variбvel, tambйm coloque o iterator [playerid] de forma correta em todo cуdigo:

pawn Код:
//bla
    Text:Tpontos[playerid] = TextDrawCreate(550.000000, 410.000000, "Matou:");
    TextDrawBackgroundColor(Text:Tpontos[playerid], 255);
    TextDrawFont(Text:Tpontos[playerid], 1);
    TextDrawLetterSize(Text:Tpontos[playerid], 0.500000, 1.000000);
    TextDrawColor(Text:Tpontos[playerid], -1);
    TextDrawSetOutline(Text:Tpontos[playerid], 0);
    TextDrawSetProportional(Text:Tpontos[playerid], 1);
    TextDrawSetShadow(Text:Tpontos[playerid], 1);

    Text:Tpontos[playerid]= TextDrawCreate(550.000000, 400.000000, "Mortes:");
    TextDrawBackgroundColor(Text:Tpontos[playerid], 255);
    TextDrawFont(Text:Tpontos[playerid], 1);
    TextDrawLetterSize(Text:Tpontos[playerid], 0.500000, 1.000000);
    TextDrawColor(Text:Tpontos[playerid], -1);
    TextDrawSetOutline(Text:Tpontos[playerid], 0);
    TextDrawSetProportional(Text:Tpontos[playerid], 1);
    TextDrawSetShadow(Text:Tpontos[playerid], 1);
Reply
#3

nao deu :S

@edit
foi mau deu sim vlw
Reply
#4

Qual Erro? Sr

Mostra a definiзгo da variбvel . . .
______

Tudo bem, de nada.
Reply
#5

Affs postei errado Oops: foi mal
Reply
#6

Fixed -

pawn Код:
Tpontos = TextDrawCreate(550.000000, 410.000000, "Matou:");
    TextDrawBackgroundColor(Tpontos, 255);
    TextDrawFont(Tpontos, 1);
    TextDrawLetterSize(Tpontos, 0.500000, 1.000000);
    TextDrawColor(Tpontos, -1);
    TextDrawSetOutline(Tpontos, 0);
    TextDrawSetProportional(Tpontos, 1);
    TextDrawSetShadow(Tpontos, 1);

    Tpontoss = TextDrawCreate(550.000000, 400.000000, "Mortes:");
    TextDrawBackgroundColor(Tpontoss, 255);
    TextDrawFont(Tpontoss, 1);
    TextDrawLetterSize(Tpontoss, 0.500000, 1.000000);
    TextDrawColor(Tpontoss, -1);
    TextDrawSetOutline(Tpontoss, 0);
    TextDrawSetProportional(Tpontoss, 1);
    TextDrawSetShadow(Tpontoss, 1);
+rep if worked.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)