[Ajuda] Attach3DTextLabelToPlayer Nгo Aparecee!
#3

pawn Код:
//topo
new Text3D:label[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    label[playerid] = Create3DTextLabel("{4169E1}Olб sou admin do Servidor\nPosso lhe ajudar em alguma coisa?", 0xFF0000, 0.0, 0.0, 0.0, 50.0, 0);
    return 1;
}

public OnPlayerUpdate(playerid)
{
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        Attach3DTextLabelToPlayer(label[playerid], playerid,  0.0, 0.0, 2.0);
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)