tag mismatch [Error]
#5

Quote:
Originally Posted by jotajeda
Посмотреть сообщение
pawn Код:
new
    PlayerText3D:pTextLabel,
    tiempoPausa[MAX_PLAYERS],
    enPausa[MAX_PLAYERS],
    cadena[50];

forward timer_1m();
public timer_1m()
{
    foreach(i, Player)
    {
        if (enPausa[i] == 1)
        {
            tiempoPausa[i]++;
            new Float: Pos[3];
            GetPlayerPos(i,Pos[0],Pos[1],Pos[2]);
            format(cadena, sizeof(cadena), "[%i minutos]", tiempoPausa[i]);
            pTextLabel = CreatePlayer3DTextLabel(i,cadena, 0xFFFF00FF, Pos[0], Pos[1], Pos[2], 40.0);
        }
        else
        {
            DeletePlayer3DTextLabel ( i, pTextLabel ) ;
            tiempoPausa[i] = 0;
            enPausa[i] = 1;
        }
    }
    return 1;
}
https://sampwiki.blast.hk/wiki/DeletePlayer3DTextLabel
muchнsimas gracias men lo probare.
Reply


Messages In This Thread
tag mismatch [Error] - by Zodiaco - 23.12.2014, 03:23
Respuesta: tag mismatch [Error] - by jotajeda - 23.12.2014, 03:26
Respuesta: tag mismatch [Error] - by Zodiaco - 23.12.2014, 03:32
Respuesta: tag mismatch [Error] - by jotajeda - 23.12.2014, 03:48
Respuesta: tag mismatch [Error] - by Zodiaco - 23.12.2014, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)