[ajuda] TextDraw nгo aparece.
#1

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)