[Ajuda] Clicaveis
#1

Ola!
Tentando criar textdraw clicaveis deu esses erros e avisos.
pawn Код:
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(17) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(21) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(25) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(36) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(37) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(38) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(39) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(40) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(41) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(47) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(48) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(49) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(50) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(51) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(52) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(58) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(59) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(60) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(61) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(62) : warning 213: tag mismatch
C:\Documents and Settings\Maurilio\Desktop\Text.pwn(63) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Porem eu segui esse tuto > https://sampforum.blast.hk/showthread.php?tid=340781

CODE \/
pawn Код:
#include a_samp
new PlayerText:Login[MAX_PLAYERS];
new PlayerText:Skin[MAX_PLAYERS];
new PlayerText:Regras[MAX_PLAYERS];
public OnFilterScriptInit()
{
    return 1;
}
public OnFilterScriptExit()
{
    return 1;
}
public OnPlayerConnect(playerid)
{
    Login[playerid] = CreatePlayerTextDraw(playerid, 240.0, 580.0, "Logar/Registrar");
    PlayerTextDrawShow(playerid, Login[playerid]);
    PlayerTextDrawSetSelectable(PlayerText:Login, true);// Poder Clicar
   
    Skin[playerid] = CreatePlayerTextDraw(playerid, 240.0, 580.0, "Skin");
    PlayerTextDrawShow(playerid, Skin[playerid]);
    PlayerTextDrawSetSelectable(PlayerText:Skin, true);// Poder Clicar
   
    Regras[playerid] = CreatePlayerTextDraw(playerid, 240.0, 580.0, "Logar/Registrar");
    PlayerTextDrawShow(playerid, Regras[playerid]);
    PlayerTextDrawSetSelectable(PlayerText:Regras, true); // Poder Clicar
   
    SelectTextDraw(playerid, 0x00FF00FF);// Cor Setinha
    return 1;
}
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
    if(playertextid == Login[playerid])
    {
         // login
         CancelSelectTextDraw(playerid);
         TextDrawHideForAll(Login[playerid]);
         TextDrawDestroy(Login[playerid]);
         TextDrawHideForAll(Skin[playerid]);
         TextDrawDestroy(Skin[playerid]);
         TextDrawHideForAll(Regras[playerid]);
         TextDrawDestroy(Regras[playerid]);
    }
    if(playertextid == Skin[playerid])
    {
         // Skin
         CancelSelectTextDraw(playerid);
         TextDrawHideForAll(Login[playerid]);
         TextDrawDestroy(Login[playerid]);
         TextDrawHideForAll(Skin[playerid]);
         TextDrawDestroy(Skin[playerid]);
         TextDrawHideForAll(Regras[playerid]);
         TextDrawDestroy(Regras[playerid]);
    }
    if(playertextid == Regras[playerid])
    {
         // Regras
         CancelSelectTextDraw(playerid);
         TextDrawHideForAll(Login[playerid]);
         TextDrawDestroy(Login[playerid]);
         TextDrawHideForAll(Skin[playerid]);
         TextDrawDestroy(Skin[playerid]);
         TextDrawHideForAll(Regras[playerid]);
         TextDrawDestroy(Regras[playerid]);
    }
    return 1;
}
Nao intendi o que ta errado , pode me dizer o meu erro!
Reply


Messages In This Thread
Clicaveis - by Don_Speed - 06.10.2012, 16:49
Re: Clicaveis - by Abravanel - 06.10.2012, 17:03
Re: Clicaveis - by arakuta - 06.10.2012, 17:05
Re: Clicaveis - by Don_Speed - 06.10.2012, 17:06
Re: Clicaveis - by CaioMiglioli - 06.10.2012, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)