SA-MP Forums Archive
[ajuda] TextDraw nгo aparece. - 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] TextDraw nгo aparece. (/showthread.php?tid=346311)



[ajuda] TextDraw nгo aparece. - tonisantolia - 27.05.2012

Setei para a text draw aparecer quando o player entrar no server mas nгo aparece nd.. PQP?
pawn Код:
public OnPlayerConnect(playerid)
{
    new File[70], snd[MAX_PLAYER_NAME];
    GetPlayerName(playerid, snd, sizeof(snd));
    format(File, sizeof(File), Contas, snd);
    TextDrawShowForPlayer(playerid, Textdraw4[playerid]);
    TextDrawShowForPlayer(playerid, Textdraw5[playerid]);
    if(DOF2_FileExists(File))
    {
        PlayerTextDrawShow(playerid, TextLogin0[playerid]);
        PlayerTextDrawShow(playerid, TextLogin1[playerid]);
        PlayerTextDrawShow(playerid, TextLogin2[playerid]);
        PlayerTextDrawShow(playerid, TextLogin3[playerid]);
        PlayerTextDrawShow(playerid, TextLogin4[playerid]);
        PlayerTextDrawShow(playerid, TextLogin5[playerid]);
        PlayerTextDrawShow(playerid, TextLogin6[playerid]);
        PlayerTextDrawShow(playerid, TextLogin7[playerid]);
        PlayerTextDrawShow(playerid, TextLogin8[playerid]);
        PlayerTextDrawSetSelectable(TextLogin5[playerid], true);
        SelectTextDraw(playerid, 0x00FF00FF);
    }
    return 1;
}
PS arquivo existe '-'


Re: [ajuda] TextDraw nгo aparece. - CidadeNovaRP - 28.05.2012

Tire todos os parвmetros "playerid" que vocк colocou ao craiar as Text's ([playerid]).