01.04.2014, 16:13
hello friends I have a problem, I have this code that you aparese Create3DTextLabel when you moderator or admin assistant.
I put it in OnPlayerConnect
switch(PlayerInfo[playerid][Level])
{
case 1 .. 2:
{
EsAdmin[playerid] = Create3DTextLabel("** Ayudante **",0x0080FFFF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
case 3 .. 4:
{
EsAdmin[playerid] = Create3DTextLabel("** Moderador **",0xFF8000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
case 5 .. 8:
{
EsAdmin[playerid] = Create3DTextLabel("** Administrador **",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
}
but not seen, as I meet?
I put it in OnPlayerConnect
switch(PlayerInfo[playerid][Level])
{
case 1 .. 2:
{
EsAdmin[playerid] = Create3DTextLabel("** Ayudante **",0x0080FFFF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
case 3 .. 4:
{
EsAdmin[playerid] = Create3DTextLabel("** Moderador **",0xFF8000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
case 5 .. 8:
{
EsAdmin[playerid] = Create3DTextLabel("** Administrador **",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
}
but not seen, as I meet?