[Ajuda] TextDraws's Sumindo !
#1

Boa Noite galera, estou com um probleminha, espero que possam me ajudar... As TextDraw's do meu servidor, quando ligo o servidor, todas aparecem, depois de umas 4 horas com o servidor ligado , TODAS textdraw's somem ! ai tenho que dar /gmx para voltar as textdraw's, alguem me ajuda a solucionar esse problema?

Essa aqui й 1 das Textdraw composta no GM !
\/
pawn Код:
Score_Setup(playerid)
{
    APlayerData[playerid][ScoresP] = TextDrawCreate(545.000000, 44.0, "Scores: 0");
    TextDrawBackgroundColor(APlayerData[playerid][ScoresP], 0x000000ff);
    TextDrawFont(APlayerData[playerid][ScoresP], 1);
    TextDrawLetterSize(APlayerData[playerid][ScoresP], 0.300000, 1.000000);
    TextDrawColor(APlayerData[playerid][ScoresP], -1);
    TextDrawSetOutline(APlayerData[playerid][ScoresP], 0);
    TextDrawSetProportional(APlayerData[playerid][ScoresP], 1);
    TextDrawSetShadow(APlayerData[playerid][ScoresP], 1);
    return 1;
}
Desde ja obrigado !
Reply
#2

Deve ter algum timer que as escondem ou excluem depois de 4 horas..
Reply
#3

Quote:
Originally Posted by paulor
Посмотреть сообщение
Deve ter algum timer que as escondem ou excluem depois de 4 horas..
Aonde posso achar esse timer, pq ja procurei mais n acho de jeito nenhum :/
Reply
#4

Procure por:
TextDrawHideForPlayer,
TextDrawHideForAll,
TextDrawDestroy


E veja se acha algo suspeito!
Reply
#5

Quote:
Originally Posted by paulor
Посмотреть сообщение
Procure por:
TextDrawHideForPlayer,
TextDrawHideForAll,
TextDrawDestroy


E veja se acha algo suspeito!
As que achei sao essas, mais isso, eu tentei desativa-las mais nada !
pawn Код:
TextDrawHideForPlayer(playerid, ImagemEntrada);
e essas aqui
Speedometer_Cleanup(playerid)
{
    TextDrawDestroy(APlayerData[playerid][Velocimetro]);
    TextDrawDestroy(APlayerData[playerid][SpeedometerText]);
    TextDrawDestroy(APlayerData[playerid][FuelGauge]);
    TextDrawDestroy(APlayerData[playerid][GPS]);
    TextDrawDestroy(APlayerData[playerid][Gasosa]);
    TextDrawDestroy(APlayerData[playerid][Motor]);
    TextDrawDestroy(APlayerData[playerid][Cruise]);
Esse trem ta me deichando LOUCO!
Reply
#6

Up !
Preciso muito dessa ajuda !
Reply
#7

Quote:
Originally Posted by chelsao
Посмотреть сообщение
Up !
Preciso muito dessa ajuda !
Va em OnGameModeInit()
Procure por SetTimer relacionado as TextDraw's e Poste aqui ( Se haver algo relacionado )
Reply
#8

Quote:
Originally Posted by Schocc
Посмотреть сообщение
Va em OnGameModeInit()
Procure por SetTimer relacionado as TextDraw's e Poste aqui ( Se haver algo relacionado )
Olhei aqui, relacionado a TextDraw nao tem nada nгo! :/
Reply
#9

Up !..
me ajude por favor........
Reply
#10

Vocк usa o gamemode ppc_trucking? se sim na include ppc_speedometer (Acho) deve ter um timer : SetTimerEx("Speedometer_Update", 500, true, "i", playerid);
tente ve nessa include
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)